// 
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

//!DESC NNEDI3 (double_y, nns64, win8x4)
//!HOOK LUMA
//!BIND HOOKED
//!SAVE nnedi3_int
//!WHEN HOOKED.h OUTPUT.h / 0.833333 <
float nnedi3(vec4 samples[8]) {
float sum = 0.0, sumsq = 0.0;
for (int i = 0; i < 8; i++) {
    sum += dot(samples[i], vec4(1.0));
    sumsq += dot(samples[i], samples[i]);
}
float mstd0 = sum / 32.0;
float mstd1 = sumsq / 32.0 - mstd0 * mstd0;
float mstd2 = mix(0.0, inversesqrt(mstd1), mstd1 >= 1.192092896e-7);
mstd1 *= mstd2;
float vsum = 0.0, wsum = 0.0, sum1, sum2;
#define T(x) intBitsToFloat(x)
#define W(i,w0,w1,w2,w3) dot(samples[i],vec4(T(w0),T(w1),T(w2),T(w3)))
#define WS(w0,w1) sum1 = exp(sum1 * mstd2 + T(w0)); sum2 = sum2 * mstd2 + T(w1); wsum += sum1; vsum += sum1*(sum2/(1.0+abs(sum2)));
sum1=W(0,-1115658697,1052077971,-1129953383,1040079017)+W(1,-1119789534,1027055297,-1102425550,-1107150591)+W(2,1056937139,1052646725,-1100320116,-1112255447)+W(3,1033358144,-1121552872,1029401490,-1089460941)+W(4,-1091236407,-1106109018,991372703,1039284509)+W(5,-1097729145,-1111268755,1043570389,1057992884)+W(6,-1112818013,1030287040,-1108390802,1013856427)+W(7,-1110301789,-1132036495,1028923089,1044897031);sum2=W(0,-1118430023,1041449883,1026461175,-1108031914)+W(1,1013768747,-1122068949,1027150813,1012288055)+W(2,1072973866,-1076980873,1041814131,1032549274)+W(3,1026059807,1036691428,-1082819831,1049697467)+W(4,-1111091488,1028730196,-1121140359,1017353224)+W(5,-1152272302,-1116481805,1027133694,1041587393)+W(6,-1121430441,-1127880506,-1138465879,-1132764107)+W(7,1025296987,1012449399,-1141547063,-1122016279);WS(-1098744132,1034278418);
sum1=W(0,-1145635621,1041815523,-1124165708,-1103397220)+W(1,1050544938,1021903208,-1120033612,-1105248316)+W(2,-1099348442,-1092523700,1026719460,-1110800938)+W(3,1035939706,994253234,1047722705,1050332487)+W(4,-1100009602,-1088889154,1032193166,1022646298)+W(5,1017012340,992386946,1057456646,1037024150)+W(6,-1104673163,-1098235958,-1136800346,1022064347)+W(7,-1126668889,1007925993,1051861685,1045722836);sum2=W(0,1051137052,-1138123466,1038271179,-1097631923)+W(1,-1103655169,1030554459,-1101382095,1049915324)+W(2,1047950529,1066995446,1038061501,1016052501)+W(3,-1103587135,1039796029,1044310058,1053016941)+W(4,1052164534,-1086456688,1036023945,-1098093629)+W(5,1022295275,1002073396,-1097740488,-1101624661)+W(6,-1092315790,-1088937960,1049634734,-1103222197)+W(7,1009745942,1037237655,-1095498431,1025704121);WS(-1082862242,-1106529553);
sum1=W(0,1035507577,-1134799464,-1136558799,-1130854575)+W(1,-1121770975,1040932752,-1109420173,-1111381151)+W(2,1050921813,1017516694,1011297096,-1106220300)+W(3,1042678624,1023914089,1058584025,-1090777253)+W(4,-1083278305,-1113237716,1003802452,1032803517)+W(5,-1114891124,1024022374,1038764911,1053793791)+W(6,-1166618304,1036440480,-1115833284,-1130818358)+W(7,1003125716,-1148371520,-1125528356,1011564912);sum2=W(0,-1114468103,-1105748811,1017383795,-1113253112)+W(1,1029911106,-1111927878,1042779663,1046106511)+W(2,1042070822,1062131274,-1105653936,-1098397046)+W(3,-1106009556,-1113543954,1049624420,1049941293)+W(4,-1088478625,1039489157,-1130700635,1043748521)+W(5,-1110290200,1032413051,-1102421728,-1093962905)+W(6,-1112481937,-1118262998,-1134989990,1040646747)+W(7,1032000907,1027657598,-1124158867,-1120850913);WS(1055738180,1034492849);
sum1=W(0,-1111251428,-1128721888,-1114926341,-1130881323)+W(1,1006685651,-1103919286,1039888312,1042092597)+W(2,-1099536939,1051914904,-1109424308,1041145701)+W(3,-1104400342,-1113433279,-1131357522,1055510938)+W(4,1058202118,1051860704,-1112831856,-1112247108)+W(5,1022435899,-1139575663,-1104754439,-1089549409)+W(6,1026763985,-1130346670,-1121239258,-1114665081)+W(7,-1129253153,-1142807791,-1117425768,-1109075065);sum2=W(0,-1118181126,-1116107500,1036549925,-1110077216)+W(1,-1110853226,-1119533468,1034915268,1049383148)+W(2,1042025735,1056055130,1011211476,-1103858204)+W(3,-1101175453,-1113779586,1058209450,1044994486)+W(4,-1090440399,-1117941654,1023981444,1008268344)+W(5,-1109857174,1034145803,-1099569204,-1098004228)+W(6,1001166765,-1130298175,1034090633,1010863636)+W(7,1026441284,1033292040,-1107211558,-1121873216);WS(1056018244,-1109435672);
sum1=W(0,-1121172806,-1108190871,1025593127,1028147653)+W(1,1029524274,998861994,1019648283,-1156629272)+W(2,1044333967,-1098176216,1042157337,1019179235)+W(3,-1126875818,1048944704,-1084323638,-1105021998)+W(4,1052400296,1041545807,1019247612,-1110312463)+W(5,-1112766254,1027979993,-1144495302,1052575762)+W(6,-1152440548,1040728133,-1144225212,-1120006735)+W(7,-1115664295,-1127435447,-1117757541,960835398);sum2=W(0,1020564842,-1103457632,1037565600,-1133465842)+W(1,1020759546,1025892619,1042355402,-1109452473)+W(2,1043192653,1057142397,1023511793,-1114814180)+W(3,1033812672,1040091206,1042803000,-1103393926)+W(4,-1101196001,1038394412,1005396583,1028077461)+W(5,-1104532905,-1153222990,-1094252679,-1093624788)+W(6,-1113456189,-1137100532,-1149118303,1022326514)+W(7,-1130818626,1028700597,1021621854,1041416796);WS(1058353218,1042996167);
sum1=W(0,-1094124879,-1107919793,1015847030,1024954343)+W(1,1009270680,-1116609353,-1138612357,1052314513)+W(2,-1097421664,1048862286,-1110665693,1036476495)+W(3,-1202266712,-1105910956,1050687635,1044445371)+W(4,1033331871,1049066134,-1108641009,-1121159378)+W(5,1018868510,-1115498359,998963493,-1102818752)+W(6,1023600450,1041347474,-1102251787,-1137738249)+W(7,1016588291,-1119202191,1023627001,-1113493234);sum2=W(0,-1120540574,-1110048722,980939457,-1126808420)+W(1,1039187917,-1110843188,-1075343834,-1098896413)+W(2,1033167871,-1106277561,1037410136,-1123796075)+W(3,1032482295,991431992,1075199384,-1086151008)+W(4,-1166268225,-1116671070,-1139817292,1002142140)+W(5,-1123555130,-1163241473,-1127002394,1058982643)+W(6,-1143978200,1011961658,-1142652688,-1134378480)+W(7,1021947375,-1117918702,1027681870,1028067074);WS(1065448321,-1123448424);
sum1=W(0,1042933049,1048779866,1010310940,1033675765)+W(1,-1107290229,1033876859,-1098481070,-1113419593)+W(2,1053164479,1054681092,-1130617674,-1135157253)+W(3,1028430645,-1126554424,1025088582,-1085464413)+W(4,-1088933089,-1096402228,1037821135,1045868403)+W(5,-1113028565,-1114258373,1043193000,1052703622)+W(6,-1112063319,-1132569296,-1107423852,1029877230)+W(7,-1131689691,992526257,1039088003,1039463880);sum2=W(0,-1118632904,-1115592424,1027463162,992398551)+W(1,-1143518596,-1122494561,998577524,-1109433050)+W(2,-1094541616,1058308065,-1119896935,-1110914988)+W(3,-1116426235,-1103007923,1059518579,-1095126430)+W(4,1052134722,-1139018826,1024218964,-1100289244)+W(5,-1121464784,-1115201103,-1109739820,1038527426)+W(6,1043392525,-1114310803,1036361104,-1111923136)+W(7,-1120049915,-1128089075,1020338285,1004586244);WS(1050696068,-1101686596);
sum1=W(0,1032239887,1039198082,1025629886,1030829490)+W(1,-1113406309,1030627629,1033819234,1015204626)+W(2,1035777849,-1094476563,1044306231,1028506281)+W(3,-1111973334,1049080890,-1083567844,1052890832)+W(4,1053256444,-1108777674,1033300499,1022456523)+W(5,1026744658,1009469122,1028011096,-1095460989)+W(6,-1125496907,1013615278,-1126351518,1025382374)+W(7,1014700692,-1117484787,1022077689,-1117978119);sum2=W(0,-1116235595,1028975273,1033160533,-1123705959)+W(1,-1139597844,-1122943830,-1094422871,1034058997)+W(2,-1105037500,1055127070,1019539230,1021465594)+W(3,-1103106284,1037858431,1036912081,-1106553103)+W(4,1039390029,-1104569658,1030761443,-1115261066)+W(5,1034945731,997585040,1034816057,-1113630050)+W(6,1024962787,999405400,-1122567677,1021971134)+W(7,-1137214108,1023175710,1014360364,-1131788338);WS(1058623938,1044469574);
sum1=W(0,-1108426137,-1141312974,1035147318,1045615020)+W(1,1044911680,1030580258,1044306859,-1135193336)+W(2,-1105886038,-1079944741,1050348390,1047639223)+W(3,1043270872,1051720601,-1085342603,-1122107414)+W(4,1039515483,1021302290,1044899106,1030161626)+W(5,1041363874,1041545713,-1110191310,-1100470855)+W(6,-1167333042,991624716,1044251461,-1132009366)+W(7,1040848727,1042676794,-1100960996,-1180200419);sum2=W(0,-1097249916,-1101780852,-1112584470,-1126998679)+W(1,-1118913729,-1122142287,1037003529,1048536708)+W(2,-1124055793,1050619160,1026650453,-1125720699)+W(3,1008038822,-1117660887,1058508674,1040132893)+W(4,1044368398,-1115949975,1035354845,-1098785634)+W(5,-1121056345,1006096779,-1106591466,1037637019)+W(6,1036370417,1013784870,-1117822839,-1103280207)+W(7,-1116815483,-1119752481,-1104576316,-1109803757);WS(-1092650820,-1093598320);
sum1=W(0,-1111185837,-1107026560,-1136033646,-1126483198)+W(1,1028684103,1034982933,-1113511425,1032567139)+W(2,-1096033968,-1101350837,-1119240794,1019177644)+W(3,1025024233,-1118967697,1042563567,1059010394)+W(4,1057301262,1042409572,-1108863241,-1095523617)+W(5,-1118984463,1023629806,-1108714423,-1131092420)+W(6,1040959081,1035081684,-1126435736,-1113123137)+W(7,-1128061252,-1142697342,-1106962654,-1114101506);sum2=W(0,-1134435633,-1107189637,-1158272012,-1118904411)+W(1,-1150017862,-1122133752,992574886,-1102280300)+W(2,-1120249847,1057018316,1030464194,1013234849)+W(3,-1146867651,-1097179586,1062197029,-1083559741)+W(4,1048792270,1024832618,1025489390,-1106482941)+W(5,-1115216614,1021081809,-1114392001,1040811198)+W(6,1031754422,-1125347555,1028128070,-1129648553)+W(7,-1112304821,993658022,1029475610,1031998303);WS(1058173058,1066808129);
sum1=W(0,1035236882,1036577094,-1099127505,-1107348220)+W(1,-1121094224,-1105652573,1043659283,1041707116)+W(2,1044208414,1029276252,-1113478482,-1103913530)+W(3,-1107481241,-1121409754,1039741986,1046852514)+W(4,-1097605967,-1100723463,-1113016318,1040539139)+W(5,1032545388,-1115290924,1043551606,1044710619)+W(6,1029619500,-1122925746,1000206250,-1120477164)+W(7,1013015214,950366748,994694705,-1133641268);sum2=W(0,1034130054,-1120175931,-1105723160,-1094008764)+W(1,1011760553,-1124103013,1042930394,1031813868)+W(2,1064201383,1002356625,1052425931,-1087139249)+W(3,-1131636845,1006833373,-1098172076,-1110465854)+W(4,-1089869944,-1114835724,1034445536,1056772124)+W(5,1007319139,1014923704,-1102352886,1043061462)+W(6,-1123264660,-1129286431,1037095176,1012087213)+W(7,1016549099,993051546,-1111397998,1040830367);WS(1061928770,1027279769);
sum1=W(0,-1100123699,-1162686055,-1113862823,1034406912)+W(1,1033006716,-1128579510,-1109708970,1029564087)+W(2,-1096018034,1056786929,-1111710246,1039933724)+W(3,1007368299,-1109765633,1037263862,1050604450)+W(4,1056534441,1044907121,-1109997378,-1111349982)+W(5,-1113416432,-1101798872,1038664521,-1098017894)+W(6,1022437288,1031029722,-1114279935,-1113344954)+W(7,-1105438789,-1113862289,1027389387,-1116167797);sum2=W(0,-1115270559,1031363022,-1108403600,1026006751)+W(1,-1130316822,-1139293944,1033798448,1024783342)+W(2,-1104904057,1031769509,-1122004937,1035073774)+W(3,1025961213,1021529214,1039898935,1037041630)+W(4,-1106336513,1027760004,1015050843,1035952663)+W(5,-1112547455,-1096601581,1027825620,1057393141)+W(6,1019789656,-1118390529,-1133483016,-1124438030)+W(7,-1105185563,-1106336479,-1128829234,-1121305243);WS(1053752708,1043937257);
sum1=W(0,-1105170221,-1098204331,-1112521242,-1114168512)+W(1,-1109039567,-1113606305,-1104934543,1031197758)+W(2,1046102006,1066642253,-1095288434,-1097902456)+W(3,-1098767200,-1089903115,1070561411,1042705158)+W(4,1054367941,-1100810554,-1114520925,-1094410051)+W(5,-1100846418,-1108028099,1032266099,1038022813)+W(6,-1121904763,1031167873,-1105295129,-1115668990)+W(7,-1115062077,-1118408200,-1123380722,-1114135854);sum2=W(0,-1090786559,-1094418907,-1144787532,-1113064749)+W(1,-1136678198,-1129681067,-1102980167,1038982572)+W(2,1009808406,1053253351,1041111385,-1115681675)+W(3,1023762114,1035936399,1054413523,1041806798)+W(4,1015714915,1020895003,-1136936214,-1130408019)+W(5,-1114747797,1001107148,-1114777947,1024043560)+W(6,-1117683238,1028089270,-1121651306,1022660811)+W(7,-1129865467,1019986163,-1123371786,1021536435);WS(-1077899937,-1095640595);
sum1=W(0,1032811586,1036208246,1026389718,1038010313)+W(1,1033727032,-1117534996,-1123908524,-1097475626)+W(2,-1100196466,-1112596654,1038149954,1040451742)+W(3,-1116405267,1043001855,-1096170677,1051006893)+W(4,1057575303,1025151035,1041468735,1012098034)+W(5,1035677341,-1122502968,-1102384270,-1089360567)+W(6,-1108998502,-1117388883,1035936827,1036152598)+W(7,959089718,-1122221082,1019229383,-1117118702);sum2=W(0,1037203464,-1111295182,1031626038,1014408115)+W(1,1006518986,998532726,1033188726,-1112987386)+W(2,-1111204470,1046645930,1024306585,1042237958)+W(3,1002908510,-1142339005,1040504174,1033012571)+W(4,1036175171,-1102667672,-1108949069,1005347958)+W(5,1028667874,1028194944,-1113110436,1022488131)+W(6,-1105300490,-1098212068,-1155665460,-1129272561)+W(7,991631364,-1118275484,1026136762,1012028387);WS(1052188868,-1105025774);
sum1=W(0,1053332527,1046329385,-1127133881,1026006805)+W(1,1016895952,1015047702,-1102124985,-1093124457)+W(2,1054121990,1041936861,1039605133,-1111238899)+W(3,1031180874,-1123947762,-1108714798,-1093232644)+W(4,-1098161716,-1100202284,1027868467,1036489378)+W(5,-1116894641,-1100188956,1042303686,1047964177)+W(6,-1114580002,-1112308133,1040022103,1028341284)+W(7,-1114267170,-1120167377,1033044781,1042593657);sum2=W(0,1038124206,-1111850856,-1090155459,-1098242390)+W(1,-1146833441,1015159009,-1110800852,1035251585)+W(2,-1111691725,1045262621,-1083172772,-1080159437)+W(3,-1114532383,1037947101,-1116129960,1033462452)+W(4,-1107342132,-1115094311,1066420271,1043663143)+W(5,-1115149205,-1118954060,1036826747,-1117401930)+W(6,1045364599,1039539139,1052081121,1065821018)+W(7,-1159263732,-1144829650,1031476522,-1121811075);WS(-1102870152,1022622513);
sum1=W(0,-1105950504,-1108831748,1035394969,1055644087)+W(1,-1099940547,1029691760,1043185370,-1114669622)+W(2,1041190721,1039545500,1045987408,1045649819)+W(3,-1105006556,1034170571,-1093030704,-1098060649)+W(4,1049616144,1056957379,1031111560,1030573816)+W(5,1028754581,1032315050,-1084377448,-1093912525)+W(6,1047436506,1055423038,1041054212,1035095156)+W(7,1008186016,1002093997,-1094643096,-1093512673);sum2=W(0,1070336926,-1098862516,1037387540,-1084145430)+W(1,-1086613448,1056626754,-1095516697,1055168354)+W(2,1050914492,1068317532,-1096604175,-1091365810)+W(3,-1097405209,-1099937369,1069441477,1050568943)+W(4,1054262144,-1083131387,1043123500,-1095647742)+W(5,-1106692290,1045945631,-1085743049,-1090345251)+W(6,1046449081,-1081281727,1053814194,-1106696806)+W(7,-1106594556,1058187197,-1086819148,1048225937);WS(-1069426976,-1120848841);
sum1=W(0,1037072255,997868135,1035259664,1036938172)+W(1,1032159990,1025792718,1049019033,-1103659451)+W(2,1031706371,-1092031243,1052190352,1047028417)+W(3,1020529436,1049696791,-1081236347,-1095105906)+W(4,1045414333,1026900661,1039915051,1041456894)+W(5,1038916826,1035011641,1032303833,-1090672009)+W(6,-1119324359,1015048091,1036563112,1015525967)+W(7,1039253091,-1145253028,-1146656500,1008361890);sum2=W(0,1029191442,-1132163681,-1130807793,-1131675185)+W(1,1024984252,-1115031522,1018117017,-1114450600)+W(2,-1115933340,-1086087178,-1119117212,-1137547874)+W(3,1037592454,1006729954,1063181450,1033829647)+W(4,-1112002886,1014175682,-1139313154,-1138868050)+W(5,1017409241,-1134939410,-1143924164,1026390676)+W(6,1023290113,-1135148482,-1144490820,-1127085641)+W(7,-1125048401,974288160,1007342770,-1138352802);WS(-1092511940,1056045775);
sum1=W(0,-1122413709,-1107220477,1036571263,1034351639)+W(1,-1109413949,-1128037178,1031880235,1034842253)+W(2,-1123595634,-1099810889,1044122211,1026078569)+W(3,-1106487287,1038991202,-1106066347,1048156900)+W(4,1052039823,1050308552,-1113387827,-1145831724)+W(5,1016305349,1039930976,-1095462256,-1096815763)+W(6,1032192235,1047960215,-1119385695,1018446892)+W(7,-1145490603,-1115254417,-1105858435,-1104039774);sum2=W(0,1017418680,-1145267460,-1125984965,-1129634341)+W(1,-1086264457,-1078809375,-1108053053,1033383321)+W(2,1019434782,-1112808134,1032304695,-1131211232)+W(3,-1073693037,-1098879629,1017461836,1035592777)+W(4,1027589163,-1164412329,-1135310730,-1126835561)+W(5,1071963841,1073307463,1048432434,-1125819067)+W(6,1012340975,1024240430,-1115706548,1030376830)+W(7,1053688201,-1110470100,1037084632,-1132396034);WS(1042257800,-1115776325);
sum1=W(0,-1107281138,-1098526814,1032352980,-1146926115)+W(1,1010013391,-1117084567,1045994468,1038400362)+W(2,1043068219,-1109412128,-1114314051,-1109330569)+W(3,1043908518,-1120663934,-1144690495,-1111135982)+W(4,-1097266597,1039093055,-1111850704,1039411448)+W(5,-1098521248,-1122589083,-1128243973,1057956169)+W(6,-1100632132,-1104810789,-1123393177,1040829028)+W(7,1029880783,997333453,1025450855,1048043508);sum2=W(0,-1139977433,-1118253197,-1131137316,1029402915)+W(1,1041328458,-1112092070,1040550677,-1102627522)+W(2,-1122896144,-1122404168,1023173531,1031911869)+W(3,1058291503,-1087193418,1061434285,-1088615745)+W(4,-1098422336,1037623928,-1123803784,1023792141)+W(5,-1072676007,-1079538943,1067804318,1075510495)+W(6,-1106514445,1036548666,-1128776324,1014267385)+W(7,-1106625048,-1107997040,1035151624,1045458757);WS(1062572194,-1113128476);
sum1=W(0,-1105909778,-1098454710,1032745069,1025054504)+W(1,1030405814,-1107189334,1048922046,1035303099)+W(2,1040855323,-1102647392,-1115121012,-1111717923)+W(3,1047137430,-1120733568,1030883818,-1111940687)+W(4,-1094658254,1048800872,-1108655721,1039928305)+W(5,-1102007432,-1121522301,-1114397119,1056642050)+W(6,-1098634802,-1107065062,-1121873307,1042636501)+W(7,1030940241,-1129454014,1028123977,1045405821);sum2=W(0,-1138228901,1029828517,1015935669,-1114559261)+W(1,-1102431407,1036930870,-1107208114,1049277284)+W(2,-1110320033,-1095660939,1034980574,-1119968612)+W(3,-1086736101,1061616421,-1090290563,1062476231)+W(4,1043622789,-1103434641,1031387619,-1134322843)+W(5,1075586093,1068626110,-1079628774,-1071408041)+W(6,1043842027,-1104010102,1028413753,-1130912561)+W(7,1036267766,1043722127,-1110973692,-1100585862);WS(1060774594,1031131703);
sum1=W(0,1045023814,1048858052,-1105426838,-1107942447)+W(1,-1109726834,-1115599332,1019498368,1022102280)+W(2,1057375412,1053310638,-1108928460,-1102134060)+W(3,1024119623,-1117349999,1054202179,-1089780107)+W(4,-1086363546,-1121814959,-1109912496,1030069408)+W(5,-1105657043,-1112636534,1045750878,1056436400)+W(6,-1121700033,-1112979299,1016389396,-1111247296)+W(7,1020787328,1034439495,-1115080444,1017717699);sum2=W(0,-1115841609,1015990489,-1117613837,1036474850)+W(1,1027456791,-1155010952,-1121605429,-1115206474)+W(2,-1114813616,1046600726,-1124280889,993333704)+W(3,-1115442992,-1145891812,1051997378,1041891165)+W(4,-1127188969,-1101686418,-1147158916,-1120272689)+W(5,-1135549634,1009536026,1035140408,-1122067781)+W(6,-1106242516,-1111325506,1006917274,-1136721538)+W(7,1019245009,1017045509,-1113122752,1020051521);WS(1060194466,-1100017114);
sum1=W(0,-1105747811,-1101985628,-1110455654,-1107280066)+W(1,-1103466926,-1106475814,1043733237,1059466063)+W(2,1018718942,-1106901713,-1102634810,-1108454907)+W(3,-1106517942,-1094721336,1036011765,1057500851)+W(4,1046100821,1055521256,-1103041901,-1103570769)+W(5,-1110005824,-1108487663,-1113318903,1016328357)+W(6,1047438565,1059153514,-1103753711,-1108837738)+W(7,-1116101330,-1118902112,-1111475141,-1139455183);sum2=W(0,-1116481221,-1123533287,1016306377,-1134258178)+W(1,-1123729210,-1124034546,-1130975497,1032034504)+W(2,-1150894505,1050682292,-1121134035,-1119701101)+W(3,-1119840142,-1118895679,1050657130,-1129842733)+W(4,1003934853,1016401385,-1123898542,-1110905440)+W(5,-1115758498,-1135589646,-1114630639,1032136922)+W(6,1010383122,1025651043,-1131815221,-1120388479)+W(7,-1140270714,-1126135829,-1115813895,-1135861370);WS(-1094780356,-1096037829);
sum1=W(0,1051641704,1048993133,998269945,-1094564683)+W(1,-1109647669,1034946343,-1097112145,1042321778)+W(2,-1105882161,1021385644,-1099790159,-1106439374)+W(3,-1120792141,-1101585581,1039341071,1049078036)+W(4,-1110801281,-1093602407,-1116696534,1039955171)+W(5,1020526630,-1124429730,1056382370,1035258371)+W(6,1040928722,-1094848202,-1132274079,1026955814)+W(7,-1106396689,1027970323,1053064740,1035779188);sum2=W(0,1029577680,-1107142480,-1129205035,-1137596463)+W(1,-1113448033,1012914617,1015352075,1038439017)+W(2,1047351132,-1098569120,1039861741,-1126343315)+W(3,-1114069586,1046610276,1073186805,1070713407)+W(4,1038608299,-1116615219,-1123052878,-1126312459)+W(5,-1144677526,1007385420,-1073950732,1038004689)+W(6,-1112533224,-1107291575,-1125851727,996868828)+W(7,-1108941862,1037961064,-1107100148,-1077903771);WS(1053603780,-1115461008);
sum1=W(0,-1097293942,-1095449155,1030817204,-1137418943)+W(1,1014991997,-1134044169,1046317951,1049585228)+W(2,-1092155167,1049349309,1021933093,1016256157)+W(3,-1118818050,-1129232467,1058232189,1056038503)+W(4,-1125654285,-1107838901,1024187323,-1107174285)+W(5,1020919504,1042320778,-1104780729,-1109114845)+W(6,-1112035518,-1115980033,1027865701,-1121722108)+W(7,1033110781,1040979266,-1096840466,-1104946775);sum2=W(0,-1115237141,1031925962,-1122607696,1033231462)+W(1,1022510111,1016053183,-1115623012,-1111323807)+W(2,1042960949,1053325526,1021774826,-1126070520)+W(3,999155791,-1130112624,1049744257,-1119706606)+W(4,-1107200469,-1112013861,1023918789,-1120788802)+W(5,-1116359926,-1115047971,1026671690,1005054791)+W(6,-1114604471,-1120863174,-1155086158,-1127228708)+W(7,-1133439199,-1114777589,-1119270266,-1107279270);WS(1049944452,-1118177299);
sum1=W(0,-1113835168,-1117712807,1034605113,1004954534)+W(1,1036431958,-1113909672,1044152226,-1131743895)+W(2,1049772083,-1089565448,1046072096,1042179871)+W(3,1034469319,1047091406,-1102704504,-1105992217)+W(4,-1087875066,1028249398,-1115172412,-1119832136)+W(5,-1117867957,1037431354,1023284205,1051885673)+W(6,-1115173764,1016032028,-1125265763,1021914321)+W(7,-1128742159,1027934165,1023720959,1032417701);sum2=W(0,1053033259,1033866732,-1102028824,-1122048832)+W(1,-1100778293,1033801710,1014156522,-1121809206)+W(2,-1083784972,1035235216,1042109429,-1098388207)+W(3,-1112352078,1046653262,-1104400409,1055740053)+W(4,1056376564,-1103367787,1035691269,1037898289)+W(5,-1111071353,1025902829,-1120368299,-1126110057)+W(6,1034674212,-1128193065,1026959129,-1120157845)+W(7,997672170,-1153716682,984939091,1015248281);WS(-1165444096,-1119710264);
sum1=W(0,1051115175,1042802936,1034244741,1042994118)+W(1,-1108071955,1032455940,1040688824,-1098028621)+W(2,1051394930,-1114386041,1041081798,1037778378)+W(3,-1120702728,1029133552,-1087521946,-1088773549)+W(4,1044466585,1039392600,1044760836,1016348739)+W(5,1045508004,-1117660781,-1102706330,-1089153334)+W(6,1042064672,-1111502020,1049969601,-1126699940)+W(7,1043978432,-1112358151,-1112154588,987979863);sum2=W(0,1060341068,1041247352,-1169925094,-1113048377)+W(1,-1107478445,-1121919154,1057359743,1067872749)+W(2,999982909,-1081289783,1022227231,1033233769)+W(3,-1112420946,1030919570,-1075624869,-1089189226)+W(4,-1090689511,1036288861,1025958326,973479782)+W(5,1049895882,-1108655271,1048635178,-1088323315)+W(6,1044034366,1055733822,-1108998850,-1175748301)+W(7,1042449401,-1098757157,1060416891,1052769876);WS(-1077066897,-1138646112);
sum1=W(0,-1092381223,-1106693383,1009759453,1024267775)+W(1,1025453154,-1118474373,1027242622,1053014632)+W(2,-1096180043,1042083852,-1105412061,1034803609)+W(3,-1149202983,-1101608091,1053447283,1051220983)+W(4,1031147625,1050244398,-1104989395,-1118414542)+W(5,1010847661,-1113932053,1023828386,-1105039519)+W(6,1024065726,1045342865,-1099033634,1000523125)+W(7,1023831870,-1113130950,1028746421,-1110843104);sum2=W(0,1032969077,1032956180,-1133465912,1013870164)+W(1,-1105627059,1037977967,1076869477,1050672871)+W(2,-1118666398,-1095979039,-1118337904,1030888661)+W(3,1017901782,1026329625,-1069322680,1063553933)+W(4,-1102611716,1041525268,-1156287199,1030672570)+W(5,-1169512700,-1153801247,1026168517,-1088200357)+W(6,-1121602320,-1129518532,-1145191680,1014316520)+W(7,-1126632288,1031405165,-1120095414,-1129519600);WS(1059038658,1028594353);
sum1=W(0,1027001704,1035531624,-1132336275,1030613999)+W(1,1046010101,1026431736,-1094328658,-1089493909)+W(2,1032402678,-1152158733,1038489844,-1117493948)+W(3,1043051950,1044337864,1052296065,-1106243079)+W(4,-1098315241,-1088517514,1044643916,1028206993)+W(5,1028671678,1032918142,1049587060,1042911580)+W(6,-1103996748,-1091506711,1043840791,1007880004)+W(7,-1137633217,1036291743,1044000434,1035409673);sum2=W(0,-1105269646,-1109062791,998383694,-1118922878)+W(1,-1110275215,-1111322692,1002191246,1050974192)+W(2,1013977255,1052555170,-1123342062,-1117830208)+W(3,-1114811922,-1114439732,1051646415,1046707356)+W(4,1041098100,1040874722,-1124252768,-1109116635)+W(5,-1108145020,-1121186646,-1098775079,1036678597)+W(6,1030669290,1040986964,1026377322,-1104593856)+W(7,-1115485971,-1115223671,-1098750401,-1122565606);WS(-1089038754,1070610314);
sum1=W(0,-1112569734,-1099849389,-1126323612,1006818038)+W(1,1038135388,1043645143,1036085850,-1110914124)+W(2,-1090696922,-1101892281,-1107760774,1015379312)+W(3,1040122382,-1118717763,1045400523,1053776546)+W(4,1028620400,1047988033,-1104391397,-1110158738)+W(5,1002760462,1016954112,-1132043583,1040930437)+W(6,1043536901,1039930893,-1113068735,-1114553627)+W(7,974497054,-1139206280,-1114659286,-1119469430);sum2=W(0,1029972206,1020623843,-1119340063,-1120363159)+W(1,-1111466112,-1099605665,1026762268,-1135126990)+W(2,-1137841818,-1094446255,1035843986,-1119078724)+W(3,-1102195223,1042926586,1017486399,1064611900)+W(4,1049035968,-1128810267,-1106992039,1035175754)+W(5,1014516782,-1112006203,1039608352,-1094749382)+W(6,-1123633215,-1123131987,-1129270833,-1128507307)+W(7,-1136077530,-1129209333,-1197948696,-1194223384);WS(-1120775200,-1094115106);
sum1=W(0,-1112921839,-1099947345,-1133090109,-1117113151)+W(1,-1107062579,-1151313622,-1097096777,1046145098)+W(2,1050818928,1057531117,-1098081804,-1096583070)+W(3,-1100319675,-1094480203,1067142180,1048882552)+W(4,1051254629,-1098660371,-1119648950,-1092969217)+W(5,-1100195749,-1111825641,1035250696,1054137781)+W(6,926574177,1035449878,-1105675228,-1113650835)+W(7,-1118408614,-1114839546,1024424221,-1115652196);sum2=W(0,1031116535,-1113707943,1002183233,-1122846232)+W(1,1030028661,-1116699784,1034244245,-1118531646)+W(2,988543074,-1080457005,-1112395279,-1129631292)+W(3,1039671963,1037992478,1064104967,1027624889)+W(4,-1097715519,1037716560,1001287537,1009610216)+W(5,-1115290878,1016046512,1011412016,1052372051)+W(6,-1112112395,1031806339,-1139829356,-1122731504)+W(7,-1122589730,1022404309,-1128697528,1031591085);WS(-1083041826,-1088446577);
sum1=W(0,-1138041180,998832115,-1139686881,-1112868382)+W(1,-1123809603,1007627162,1026886463,1041478665)+W(2,-1108164766,-1106005004,1035817611,1037998481)+W(3,-1137074328,1036557383,-1092605991,1018740405)+W(4,1054394898,1042585939,-1112414119,1028314191)+W(5,1043199331,1016960213,-1105339656,-1096954228)+W(6,1037009680,1027830053,-1152205450,-1123391616)+W(7,949272012,-1161448845,-1128384493,-1122534560);sum2=W(0,-1080772886,-1080108640,-1112615912,1036010005)+W(1,-1113551367,-1118689741,1033469827,-1110295637)+W(2,1042883784,1067023817,1026422893,-1108103320)+W(3,-1123719569,1039881895,-1106557392,991295446)+W(4,1065911618,1043418298,-1112407780,1043952518)+W(5,1028046949,986544491,-1113416335,1015020021)+W(6,-1121396391,1019038275,-1142574731,1025610945)+W(7,1028536389,-1114551687,1027619053,-1118133995);WS(1059656866,1032254503);
sum1=W(0,-1087438145,-1096624519,1032901415,1051132033)+W(1,1047684766,1031967406,1045530925,1040121644)+W(2,-1093591378,-1092342973,1051046262,1050001035)+W(3,1044069767,1050005760,-1096329486,1040228252)+W(4,1024747921,1042870865,1041030197,1024623477)+W(5,1045316401,1048633756,-1092498854,-1100479077)+W(6,-1112612011,1037509038,1040932616,-1129401004)+W(7,1041789317,1050363772,-1089145703,-1100524478);sum2=W(0,1054927280,1004192518,-1120765513,1033723840)+W(1,-1110893464,-1117945313,1009606707,-1094930774)+W(2,1032813206,-1097617496,-1121736497,-1151198348)+W(3,-1111742424,-1121652889,-1096835022,1018976553)+W(4,994767756,1024454465,-1111733852,1020727265)+W(5,-1144829382,1030389401,1049726638,-1114598300)+W(6,-1124374145,-1107458988,-1112033268,1010605379)+W(7,-1120942585,1035752486,1057385902,1040837102);WS(-1076352721,1061176787);
sum1=W(0,-1095051668,-1094852257,1039493528,-1115567878)+W(1,1038434246,-1116442287,1040618482,1047858891)+W(2,-1086623624,1044286862,1022350014,1037423542)+W(3,-1114755255,1022609452,1036068672,1057001770)+W(4,1057477914,1049595083,-1123591576,-1114677168)+W(5,1037805114,1044588197,-1095930750,-1086915318)+W(6,1036655988,1044280124,-1114839417,-1143365955)+W(7,1031697064,-1119274549,1029598047,-1108386213);sum2=W(0,-1104206436,1012246375,-1109735653,1018488840)+W(1,1004158510,-1122544930,-1117505825,-1111729053)+W(2,-1114523900,1056346033,-1112517262,-1113462230)+W(3,-1111468709,-1133433375,1051780099,1042992721)+W(4,1029007760,-1106712811,-1112282852,-1108529674)+W(5,-1114816198,-1136000711,1035563022,1042618199)+W(6,-1113168793,-1115338003,1011039855,1002563934)+W(7,-1122022613,1037211560,-1112797570,1024458488);WS(1037340944,-1121222187);
sum1=W(0,1040689218,-1110298712,-1118176747,-1116495838)+W(1,-1106495021,-1119752153,-1106426924,1036502651)+W(2,1052341602,1064260668,-1094205341,-1096308023)+W(3,-1097659059,-1089978464,1068943083,1044624667)+W(4,1052009702,-1100646016,-1115640417,-1095502171)+W(5,-1099820424,-1108261518,1004526500,1045175252)+W(6,-1117627026,1026863896,-1105702479,-1112496425)+W(7,-1110958217,-1111070831,-1112879076,-1108867801);sum2=W(0,1043920878,1045056865,-1134403694,1002312827)+W(1,-1124888335,1019347263,-1120905299,-1113959010)+W(2,-1107896626,1060319926,-1105297347,1025097519)+W(3,-1120916959,1028583233,-1100397803,1031903433)+W(4,-1100756735,1018292031,-1117960999,1007461646)+W(5,-1119634731,-1134844462,-1106899263,1042137547)+W(6,-1136355134,-1108036266,-1129847887,-1123847191)+W(7,998264859,-1109200858,1033071013,-1119650359);WS(-1087648930,1056984912);
sum1=W(0,1048727276,1043573475,1027762677,1027950097)+W(1,-1111974664,1024202483,1015678999,-1101873716)+W(2,1051177331,-1092810048,1043195617,1025406415)+W(3,1016025318,1050173331,-1082302860,-1091649404)+W(4,1038252876,1044809191,1031391740,1035903278)+W(5,-1156961168,998750650,1038200652,-1097139061)+W(6,1035706934,1020597221,1033673899,1023913741)+W(7,1023377112,-1114494621,1041744649,1042041459);sum2=W(0,-1109665959,1017090586,-1113891962,1035604443)+W(1,-1121529027,1006860245,-1115818981,1027481873)+W(2,1033553543,1061263788,-1130359386,-1155240851)+W(3,-1124657042,1039189933,1027230949,1023852497)+W(4,-1109330568,-1106256683,1028100153,1025386829)+W(5,-1123139111,999905578,-1113120233,1041592808)+W(6,-1097657183,-1118236009,-1126789482,1016774458)+W(7,-1132638677,-1109638591,-1121071325,-1101411950);WS(-1090940868,1045539156);
sum1=W(0,-1111842948,1036262295,-1122547977,-1125495305)+W(1,1033322010,1021788462,1017057054,1024315123)+W(2,-1083395945,1050733040,1022396558,1049435900)+W(3,1041875702,1032259903,1016653136,1046781659)+W(4,1050803832,1023164412,-1113477720,1034779456)+W(5,1045300311,-1103054087,1044787970,-1084181811)+W(6,-1141132416,-1119150102,1017461170,1025152496)+W(7,-1119238479,-1121753565,1039405571,1025666193);sum2=W(0,-1154701652,1045060155,-1115334877,-1111850352)+W(1,-1128983709,-1109145509,1033609440,1008422401)+W(2,1053683311,1041887968,-1131783421,-1101312255)+W(3,1041457249,1009316297,1047082317,-1090718168)+W(4,-1090960245,1034919558,-1121261620,1037660946)+W(5,1037394704,1030040522,1036748070,1034433310)+W(6,-1118627401,-1117531173,-1118719808,1008969141)+W(7,1034723828,-1122112519,998924330,-1109720341);WS(1058382658,-1101786424);
sum1=W(0,1020557616,1040419632,-1139041509,-1110270554)+W(1,1010032145,1021044303,-1110579152,1042446649)+W(2,1039037886,-1089217895,-1114587164,-1106470550)+W(3,-1107378131,-1101971332,-1102603214,1052788411)+W(4,-1116816379,-1098005290,1031022672,1023988544)+W(5,-1110520967,-1136091053,1048850952,1052497916)+W(6,1030444000,-1105928314,1026679274,1028924449)+W(7,-1142630143,1036784631,1042985742,1041387232);sum2=W(0,1021048143,-1117334358,-1116694246,-1122331173)+W(1,-1141905806,-1109719947,1034622720,-1121426033)+W(2,985385246,1058597177,-1106162040,-1133055086)+W(3,-1111398337,-1092732322,1062397265,-1111822939)+W(4,-1096472079,1040447045,-1119866494,1033705060)+W(5,-1104483430,-1148551778,-1124693001,1007125953)+W(6,-1107345628,1011504527,-1119480360,1019582103)+W(7,-1142669219,-1124513225,1026572561,1025700470);WS(1062970978,-1081266569);
sum1=W(0,1049067654,1049251698,1026249566,-1102316771)+W(1,986432279,1031488060,1039432874,1040583110)+W(2,-1100292756,-1086541140,1037424006,-1104248914)+W(3,1034368766,1046796153,-1096033842,1040278772)+W(4,-1092317470,-1101422105,-1122189220,1035596338)+W(5,1039493185,1029733120,1049598341,1045287213)+W(6,-1130063849,-1103019359,1006845944,1016727466)+W(7,-1132489681,1032483937,1042202275,1043296141);sum2=W(0,-1092863213,-1095439435,1024987284,-1108138297)+W(1,1020893591,1030342296,-1107350452,-1134447463)+W(2,1054820060,991870971,1038311792,-1107013954)+W(3,1023656240,-1145193326,1058790229,-1104627754)+W(4,1019051815,1003248078,999045582,-1140508767)+W(5,-1111721419,-1124168067,-1113643053,1049499199)+W(6,-1122507350,-1120196608,-1139420079,1010876103)+W(7,-1111078930,1036851190,-1107048418,1040683258);WS(-1090709444,1049440503);
sum1=W(0,1025170444,-1102968365,1009000949,-1112814366)+W(1,-1116166456,1013557870,-1107658202,1021129071)+W(2,1054801672,1055216649,-1098104133,-1102384190)+W(3,-1112664461,-1102466049,1055155742,-1108358704)+W(4,1007027006,994631719,-1117987732,-1100420271)+W(5,-1093799886,-1139587454,-1115514619,1062491877)+W(6,-1122456724,1037835469,-1118237822,-1108681738)+W(7,-1112800010,-1119596065,-1137063726,1032182427);sum2=W(0,-1125700925,1031004177,1011116525,1010269627)+W(1,-1124401971,-1139731999,-1111184590,-1129465449)+W(2,991734042,1056735713,1023655690,1031226256)+W(3,-1123603568,-1106780773,1007034923,-1090395945)+W(4,1023598587,-1116020697,-1139919503,-1117593255)+W(5,1032362667,1019563835,1044588818,-1114530604)+W(6,1030692092,1014084462,-1132337311,-1131886173)+W(7,1016903156,1003383541,1027760305,-1118660887);WS(1052605444,-1096548047);
sum1=W(0,-1099989408,-1107118442,1014261129,-1135269079)+W(1,-1157809579,1034237928,1022832721,1035141158)+W(2,-1095069609,1004173259,1017149121,1035728362)+W(3,1014945855,1022065263,1042230040,1036930738)+W(4,-1102684265,1026600311,-1106055602,1022065234)+W(5,-1149699425,1033708682,-1123731628,1051854441)+W(6,1029280393,-1114974728,-1120275059,-1122459306)+W(7,-1120230985,1040542518,-1108029264,1039321653);sum2=W(0,-1078862437,-1076350607,-1102121527,-1139099893)+W(1,-1129576496,1024729710,998819801,-1097588090)+W(2,1043522425,1067956735,1039987934,-1108414487)+W(3,-1134118593,1032654822,-1109442889,-1111980043)+W(4,1072447081,1053122067,-1096991255,1045186917)+W(5,-1118463242,-1124332658,-1115256553,1044036972)+W(6,-1111637970,1040872955,-1102163660,1033745090)+W(7,-1123595298,-1115579557,1044251533,1027886256);WS(1054231108,1025279114);
sum1=W(0,-1123453065,1039341944,1020186806,1020527399)+W(1,1049493415,-1160786718,-1119337841,-1096862627)+W(2,-1104689967,-1092316960,1046988234,1026191493)+W(3,1041541558,1041661776,1008801448,1034733383)+W(4,-1122753069,-1093206832,1041704764,-1147857037)+W(5,1034215919,1032223662,1050167121,-1108979241)+W(6,-1107112804,-1094240131,1039867950,-1120557618)+W(7,-1156220183,1036558383,1043962418,1027712531);sum2=W(0,-1121143571,1021067288,-1125155383,-1156731980)+W(1,1019039796,-1128517034,1024911074,1027150242)+W(2,-1101109237,-1079877582,-1140765671,-1153680156)+W(3,1036906894,-1110310177,-1088644111,-1096825521)+W(4,-1094350155,1058234221,1030176462,1018992688)+W(5,1019841700,1000349534,1052444813,-1113080073)+W(6,1064456596,1058386161,1018002108,1027890172)+W(7,-1128055622,-1134555143,1045751986,1024094624);WS(-1097731588,1025129315);
sum1=W(0,1037092684,-1118357663,972033083,1033609822)+W(1,-1125480775,-1113410371,-1139849211,-1099469177)+W(2,1046113067,1050865438,1025915127,1036940225)+W(3,1035911587,1047135499,-1143345853,-1089626010)+W(4,-1109542297,1047810219,1018117854,1037164536)+W(5,1038594118,1031924197,-1097851227,-1104510832)+W(6,-1111680192,1036701507,1021572178,1009743167)+W(7,-1146462713,-1120871309,-1110047355,-1113708160);sum2=W(0,1029789829,-1105084635,-1134630348,-1124965724)+W(1,-1132623148,-1123511646,1036116775,-1119672690)+W(2,1035852445,1050249105,-1143859545,-1138485084)+W(3,-1106888257,-1097411434,1057234226,1002738585)+W(4,-1114135764,1024721985,1030422253,-1133066340)+W(5,-1109817844,1017260494,-1117221657,-1115375290)+W(6,-1120848177,1033535897,1003464777,-1121255807)+W(7,-1118819718,1021514610,-1110249095,1007172972);WS(1064258306,1057427735);
sum1=W(0,1041288794,1002554246,1048078371,1046669668)+W(1,1024557366,1026345305,-1107049340,-1094345727)+W(2,1039217007,-1117262306,1043467602,1049007041)+W(3,-1126800432,1017273727,-1100296810,-1092155570)+W(4,1041191743,1037075392,1040278032,1032131185)+W(5,1027549470,-1136038899,-1100720075,-1101509636)+W(6,-1121877906,1026049048,-1135631084,995640096)+W(7,-1134767685,-1111532367,1034147956,1015117221);sum2=W(0,1062132206,1066099523,-1081609637,-1083389635)+W(1,-1127222139,1022631188,1053156114,-1122840851)+W(2,1066066300,1067427062,-1090363224,-1079976349)+W(3,1027246780,-1128121946,-1091867230,-1105997303)+W(4,1049064133,996873905,-1097029007,-1100056051)+W(5,1036294091,-1115106526,1048340523,-1103783968)+W(6,-1137063332,1035057689,-1118886369,1028030408)+W(7,1035025213,-1117772337,-1104392578,-1134953960);WS(-1082692450,-1121765493);
sum1=W(0,992292947,-1104534315,-1118487719,-1112587635)+W(1,-1121302066,-1121296341,1038416886,1015927970)+W(2,1049230729,1048175951,-1111631170,-1105756568)+W(3,1043167221,1037146590,1051898365,-1104867982)+W(4,-1089217933,1028715132,-1106833087,1036199927)+W(5,-1113442509,1030891673,-1104675396,1057590961)+W(6,-1121927694,1018481703,-1109370235,-1115752014)+W(7,-1121397517,-1113425325,1022215305,1012516667);sum2=W(0,1040868564,1021710972,1026098771,-1102561169)+W(1,-1123351116,-1125337962,1009959824,-1126923948)+W(2,1048116590,1041914200,-1113975834,-1149524831)+W(3,1024724387,-1123062396,1042300553,1037970343)+W(4,1051191259,1039729263,-1105234356,-1157274159)+W(5,1021621986,-1105344931,-1097615037,1032086087)+W(6,1018638481,1035375403,-1102778536,1008573990)+W(7,-1109718449,-1105611058,-1115667744,-1115639834);WS(1063145570,1065948321);
sum1=W(0,1042647928,1041877314,-1107415145,-1113780043)+W(1,-1113344071,1034763992,-1105577826,1023153433)+W(2,1043379605,-1105676766,-1125795137,-1103697695)+W(3,-1113485016,-1107021830,1058030732,1035095074)+W(4,-1093770877,-1098882227,1032469064,-1119226457)+W(5,-1116457366,1028002580,1047432094,1049757493)+W(6,1029896809,1007275454,-1148759702,-1118570362)+W(7,1033670420,1021171309,-1110160160,-1106671851);sum2=W(0,-1147652316,1034562054,-1119163512,1033443671)+W(1,-1114870166,-1126213983,-1110746439,-1122182070)+W(2,1044843888,-1082830049,1022262943,1032648925)+W(3,1033622730,1036499220,-1080473697,-1104224164)+W(4,1049609982,1025258841,-1125619769,-1121656898)+W(5,1042757767,-1125695843,1045148854,1070472721)+W(6,1030706970,1030898199,983397903,-1116250872)+W(7,-1109235057,-1105016797,1015661307,-1138594966);WS(1047808392,-1105857653);
sum1=W(0,1057255335,1050583338,1038664639,1036414223)+W(1,1019549874,1027946812,-1095111703,-1089047968)+W(2,1052085724,-1112577010,1045309491,1033646416)+W(3,1014185453,1038762993,-1088425805,-1090242223)+W(4,1049269098,-1101673225,1047007737,1028560677)+W(5,1038356881,-1120878336,1024927375,-1097592171)+W(6,1020504170,-1098667351,1052689664,1035626955)+W(7,1031636916,-1106190208,-1153489085,988289723);sum2=W(0,-1084160527,1035785784,-1114267734,1050181400)+W(1,1059321043,-1113170400,-1097051496,-1088778570)+W(2,-1094891239,1060354212,-1097894374,1015251419)+W(3,1035392846,-1098458292,1063793540,-1096397593)+W(4,1045924604,1054874631,-1098468098,1014394222)+W(5,1030978836,-1096505073,-1115217527,-1132415773)+W(6,1042828743,1063378281,-1092845444,1043075035)+W(7,1042772598,-1088082125,1051615858,-1098450150);WS(-1073783985,-1080098540);
sum1=W(0,1004414705,-1125334283,-1111733448,1012137476)+W(1,-1135747626,-1106294475,1040796537,994170013)+W(2,-1098951217,1058781709,-1095391448,1027546650)+W(3,-1105932043,-1097893467,1038631039,1045494048)+W(4,1056582836,1054585131,1030910366,-1107725963)+W(5,1027155091,1001385357,-1102018612,-1099332954)+W(6,-1118558951,1012935090,-1136391487,1024902311)+W(7,-1141795121,-1118975220,-1113109295,-1106829042);sum2=W(0,-1161174488,-1115268047,-1123969951,-1136577003)+W(1,1021768566,-1128609502,1023359390,-1123274403)+W(2,-1111829747,-1078035036,1039844510,-1126970134)+W(3,1026568479,1027511085,-1085317526,1034323377)+W(4,1072008544,1038025274,-1182117728,1037108170)+W(5,986504280,-1139830523,1032404118,1044555209)+W(6,1006927579,1013110307,-1107924935,1024145219)+W(7,-1127097094,1022685546,983390936,1024479257);WS(-1104974728,1024380720);
sum1=W(0,-1117883163,-1127535108,1021171896,-1117848102)+W(1,-1131530510,1031544042,1018298053,1036325571)+W(2,-1099610928,-1100771573,1036503965,1039153371)+W(3,982295861,1036843369,-1101972463,1041104624)+W(4,1043814114,1034691017,-1109841905,988770395)+W(5,1029874576,1031396654,-1107251369,-1133844875)+W(6,1034709362,1004793673,-1126175513,-1121562883)+W(7,-1125713989,1034135320,-1111468989,1025626276);sum2=W(0,1071281072,1072425553,1044163006,-1125393898)+W(1,1011595325,1021558362,-1125402454,1044770418)+W(2,-1104699996,-1078765241,-1110276988,1045704700)+W(3,1010524637,-1113439186,-1098423872,1018560910)+W(4,-1076152216,-1100004941,1044569612,-1099412627)+W(5,-1178088596,1019143058,1028856833,-1103281302)+W(6,1036033265,-1111185479,1037394103,-1115657155)+W(7,-1126446200,1026998165,-1117821699,-1123488110);WS(1066498257,1026989550);
sum1=W(0,1023571545,1024686464,-1123659738,-1129927868)+W(1,-1133253141,1025371048,-1143882757,1016605513)+W(2,-1084187390,1040895252,1002634947,1045121333)+W(3,1033458708,1032849928,1054068239,1042249043)+W(4,1040663099,-1115004776,970850411,1036944705)+W(5,1049903454,1024612748,-1120675276,-1089079196)+W(6,1024409057,1001199419,1004856149,1022709187)+W(7,1017685954,-1117202350,-1120648472,-1112524513);sum2=W(0,-1106434423,1038340354,-1155040203,1038138620)+W(1,-1117610677,1038431916,-1105689565,1014840059)+W(2,-1087069176,1064410985,-1094597030,1049419982)+W(3,-1115449783,-1117967352,1043321526,-1102609737)+W(4,-1110711879,-1112639315,-1117198782,1022703337)+W(5,-1107988055,-1112813855,1042536365,1043390477)+W(6,1026273617,-1123727669,-1121486321,-1132959015)+W(7,-1122022929,1031915394,1009362023,1036470844);WS(1059170114,-1115069681);
sum1=W(0,1039057944,1043197758,1031327889,1041126528)+W(1,-1125005432,-1184440086,1035998588,-1114418030)+W(2,1057495242,1035662548,1027929903,-1137442701)+W(3,-1107377807,-1131407372,-1092661254,-1086197480)+W(4,1036387882,1043295874,1045677858,1016336432)+W(5,1031309989,1017102598,-1097533773,-1098594899)+W(6,1020376880,1035357519,1040648584,1027533272)+W(7,1036182828,-1128058314,-1106979748,-1116322521);sum2=W(0,-1099457044,-1123134927,1035999136,1029223181)+W(1,1022472216,-1129014496,-1107153986,-1094833228)+W(2,-1106245137,-1115721168,1050206678,1032743888)+W(3,1034397600,1043654862,1029163621,1052844759)+W(4,1035536761,-1109098872,969652021,1030968394)+W(5,-1114537747,-1149928759,-1111905268,1046847142)+W(6,-1136790748,-1105152866,-1138117380,1018474295)+W(7,968266517,1033858063,-1102858563,-1116305850);WS(-1091215044,-1097536449);
sum1=W(0,-1088688205,-1110004986,1027816414,1036334229)+W(1,1049627927,1039037582,1025245044,1028067640)+W(2,-1088611549,-1085760696,1054850406,1046343318)+W(3,1048707955,1052669472,-1089807987,-1104070412)+W(4,-1113122464,-1115511970,1040414769,1041878433)+W(5,1043177720,1039929856,1024229024,990395721)+W(6,-1113420363,1034437006,1047750528,1017820267)+W(7,1044644789,1048578060,-1097347774,1028468150);sum2=W(0,1036847317,1042295753,1030624098,-1114440831)+W(1,1027069126,1021176355,-1115362087,1041890716)+W(2,1050034374,1031424194,-1132718391,988636086)+W(3,1029167466,1028661170,1016671019,-1113867927)+W(4,-1119733782,-1120554286,1016098323,1030310950)+W(5,-1183083952,-1108500823,-1097953797,-1130826523)+W(6,-1114648667,1035432255,1018716851,1024855622)+W(7,1027651154,-1106095247,-1096082463,-1146049358);WS(-1074893425,-1117971628);
sum1=W(0,1052023128,1049322869,-1152038187,-1094367290)+W(1,-1107223211,1034136520,-1097322793,1042452051)+W(2,-1111356283,999054287,-1098786216,-1103630563)+W(3,-1112379016,-1102728254,1040732760,1049675109)+W(4,-1106664801,-1093651375,-1114777697,1037656965)+W(5,1016544493,-1125564586,1057236855,1040645714)+W(6,1040611874,-1094570594,-1124130662,1025099466)+W(7,-1105965314,1008351835,1055134184,1040783587);sum2=W(0,-1116735450,1032892007,1021526755,1004001863)+W(1,1033584975,-1130001464,1024548251,-1111481570)+W(2,-1096890588,-1099974349,-1116175346,1018968138)+W(3,1026017190,-1121576034,-1071438395,-1073615974)+W(4,-1103015201,1040986630,1031843333,-1139174407)+W(5,-1164624762,1024580999,1076155388,-1146527383)+W(6,1035109709,1041412407,1009509771,-1131104448)+W(7,1043256283,-1106441216,1041860718,1074182350);WS(1040475912,1032695578);
sum1=W(0,-1112011377,-1123298122,-1155851319,-1124525022)+W(1,-1136466746,1035920825,-1102944834,1035534023)+W(2,-1091278169,1056532699,-1122500130,1035372099)+W(3,-1130626274,-1104812886,1041895809,1055301749)+W(4,1054708857,-1105035590,1033773669,-1172701842)+W(5,1028924087,-1111589035,1039100863,-1087252087)+W(6,1007501482,1026134833,-1116930196,1014757675)+W(7,-1142366545,-1110262076,1036316385,-1123874252);sum2=W(0,1041703749,-1123886114,-1119792870,-1109091355)+W(1,1010537508,1026411366,-1123320808,-1120034208)+W(2,1026232126,1049335147,-1102054262,-1111337413)+W(3,1015836410,-1098413574,1063803841,1045621744)+W(4,-1114718085,-1111978783,-1113960445,-1118550690)+W(5,1041947548,-1123461018,1016064880,-1088756378)+W(6,-1124340572,1020384670,-1109065069,-1142500624)+W(7,999681904,-1122952578,1030310973,1026268254);WS(1060902754,1050355625);
sum1=W(0,-1099711167,-1104333225,-1151083459,-1156790206)+W(1,975051222,-1120760458,1047935457,1048936605)+W(2,-1101534272,-1082482317,1023922682,1011568442)+W(3,1040804594,1043235660,-1103038759,1041411896)+W(4,-1107281952,1053813598,-1112644265,1024500211)+W(5,998453633,1030084558,1036831245,1049946264)+W(6,1025001795,-1116841801,-1104847739,1033389138)+W(7,1007099659,1035779080,1030797274,1037700978);sum2=W(0,-1106066969,1029646415,-1120633215,1036801640)+W(1,1051617655,-1128436081,-1094622159,-1098529900)+W(2,-1102845552,1020964885,1045612039,1043653368)+W(3,-1108268977,-1120809462,1062435502,1045091011)+W(4,1041841354,-1088569123,976462574,-1100846658)+W(5,-1127923721,-1115259155,1054359824,-1104869009)+W(6,-1101549413,1054633350,-1097687290,-1115109418)+W(7,1041018201,-1102739129,1044975639,-1101036113);WS(-1090140642,-1081743990);
sum1=W(0,1037549524,1009886528,-1130293844,1014408182)+W(1,-1148996265,-1107483388,1031805064,-1119977588)+W(2,1044394635,1037202321,1042594418,1031847606)+W(3,1015837167,1035016080,-1094879521,-1097431626)+W(4,-1117833212,1037634256,1035968392,1041618980)+W(5,1032499967,1034663662,-1101547735,-1119842097)+W(6,-1122700465,1015596142,1033368909,1009499077)+W(7,1017023585,1030806526,-1105308242,-1107123493);sum2=W(0,1013646496,-1120892227,1006912162,-1123785792)+W(1,1032589029,-1113324539,1034054467,-1105735433)+W(2,1057715626,1076150687,-1071648513,-1091554339)+W(3,1043157583,1029343874,-1110563164,-1103626228)+W(4,1069469884,1049558148,-1106043455,-1078529007)+W(5,-1120727508,1029688242,-1102425071,1025732222)+W(6,1035924910,1038760139,-1113325201,-1108743589)+W(7,-1120545616,-1123660578,1001130061,1028146935);WS(1055430148,-1108560690);
sum1=W(0,-1122962962,-1107101862,1035029338,1035961997)+W(1,-1109508687,-1114596033,1037435821,1001804274)+W(2,-1105458486,-1102453987,1041930516,1036894711)+W(3,-1105968336,1030068713,-1115462345,1049324163)+W(4,1050880022,1050461237,-1113968413,1018389269)+W(5,1023650152,1041307521,-1096034793,-1096234295)+W(6,1017425654,1049028992,-1119268932,1026969083)+W(7,1023939770,-1110794404,-1109268985,-1105484423);sum2=W(0,-1133145023,1000680715,1015626891,1020921672)+W(1,1057583079,1066461314,1038163303,967639540)+W(2,1034643892,-1106033700,-1149322267,-1131154511)+W(3,1070593780,1042500058,1027175814,1029820070)+W(4,-1155618307,1030350968,-1122484266,1005570725)+W(5,-1076733999,-1075365186,-1107328459,1050725869)+W(6,-1127714103,1027949553,1019773418,-1125609227)+W(7,-1095092572,1026351361,-1113454879,984351189);WS(1048611396,-1120253991);
sum1=W(0,-1104843595,1020368935,-1134442421,-1109906484)+W(1,1029221016,1014414830,-1116357012,1042068462)+W(2,-1102655324,-1096452233,1038629782,-1157090745)+W(3,1044033359,1052393436,1048790986,-1127594975)+W(4,-1094801150,-1098953977,1008425488,1019276152)+W(5,1029702657,-1137141374,1044903358,1026936628)+W(6,-1125379561,-1120481658,-1115994974,-1121251029)+W(7,-1117911220,1022285443,1042932491,1031973931);sum2=W(0,-1111784437,1036277891,-1143746400,-1129566974)+W(1,-1093517653,-1098527209,1047551505,1050813877)+W(2,1028988774,-1100779042,-1117052801,1036033029)+W(3,-1081514759,-1071648362,1077969880,1061486774)+W(4,1044450885,-1129810696,1038502321,-1123748463)+W(5,-1089190754,-1107152864,-1131992338,1055586292)+W(6,1034348699,-1108082071,1043607047,-1138810328)+W(7,-1111885211,1025200270,-1108034712,1040643987);WS(-1095808772,1065647947);
sum1=W(0,1055051378,1050045579,-1104862109,-1096536264)+W(1,-1101629224,-1139560206,-1106144343,-1152511995)+W(2,1051209263,1045989771,-1101730853,-1101976087)+W(3,-1118447811,-1101507019,1051130659,-1114400236)+W(4,-1096666661,-1098537885,-1106707963,-1126516760)+W(5,-1103658466,-1098960762,1057272194,1054814183)+W(6,1021791993,-1104774017,-1108125731,-1123882077)+W(7,-1106849375,-1104521538,1057816237,1047598263);sum2=W(0,1046325680,-1134514653,-1114352725,-1110633145)+W(1,-1121981161,-1115188107,-1145236426,-1106205960)+W(2,1030462840,1052343557,-1113576661,-1120367533)+W(3,1009337269,-1122467029,1052169724,-1121802017)+W(4,1028577898,-1127265311,-1111220567,-1147392026)+W(5,-1112707841,-1123885069,967975074,-1126550987)+W(6,1023140267,-1109705515,-1131596567,-1123261925)+W(7,-1109514951,1036097210,1019189507,-1125641651);WS(-1088656098,-1093593990);
sum1=W(0,1053407451,1046462824,1006243392,1009988669)+W(1,1009810317,1021367180,-1100605512,-1093246956)+W(2,1054487499,1043824044,1040203342,-1118924498)+W(3,1031892963,-1115326423,-1110184012,-1092703459)+W(4,-1107509853,-1099069067,1015251645,1030956655)+W(5,1009525296,-1102894371,1036164518,1041099456)+W(6,-1114843936,-1106663601,1034196708,1032654584)+W(7,-1121673919,-1120762380,1035276411,1040232112);sum2=W(0,-1111686548,1047338924,1057379920,1045046842)+W(1,-1123157156,-1122209414,1041926325,-1120613757)+W(2,1044625920,-1108706635,1065556520,1066661430)+W(3,1026048962,-1118064370,-1107659276,1010608356)+W(4,1040575208,1048831397,-1079104557,-1100359290)+W(5,1036917588,-1118722317,990146073,1029226052)+W(6,-1106604517,-1118381857,-1090732450,-1080513286)+W(7,999828841,-1128484108,-1148427089,-1122878530);WS(-1103417864,1032685901);
sum1=W(0,999140540,1021813182,-1101895278,-1113840082)+W(1,1025795300,-1104186210,1049323684,1026362243)+W(2,1050838637,1035808888,-1112947643,-1106883347)+W(3,1026463622,1015970396,-1115046028,-1123649147)+W(4,-1089518824,-1112862903,-1106874992,1045150312)+W(5,1028121997,-1114287989,1043843226,1051398592)+W(6,-1123587264,991482976,-1140285221,-1122615424)+W(7,-1148228092,-1125179546,1025625239,1032255888);sum2=W(0,-1107019340,1032004449,1041601968,1052414494)+W(1,-1118630717,1028135044,-1101889010,1021676257)+W(2,-1083281727,1048799024,-1094738093,1061231009)+W(3,994543087,1023423300,-1113266306,1040520305)+W(4,1060484354,1026094686,-1112254382,-1090047391)+W(5,1023744190,-1123297050,1047868927,-1097572834)+W(6,1028491114,1016363351,-1106989530,-1124055261)+W(7,-1134044699,-1135541243,1039531031,-1106439707);WS(1062251010,-1128406975);
sum1=W(0,-1114430084,998905218,-1117783082,-1122559590)+W(1,-1200477464,1030594936,-1122146129,1041522773)+W(2,-1117430765,1043264160,-1097132645,-1111223497)+W(3,-1117296696,-1108127936,1038499861,1049934150)+W(4,-1137238321,-1109365760,1027318465,-1118294493)+W(5,-1117164622,1008104625,1038350478,1040349396)+W(6,1012147781,-1112437644,-1142140116,-1122628178)+W(7,1016497826,1030977566,1022231761,-1161426505);sum2=W(0,1035048481,1029071818,-1125963325,-1117898288)+W(1,-1121110162,-1139107970,-1131842712,1015521050)+W(2,1058090849,1075259304,-1072766634,-1090182563)+W(3,-1131029094,1037152077,-1099596444,-1155119281)+W(4,1062748800,-1113008632,1030742992,-1084699977)+W(5,1018972128,1025197316,-1124623837,1015646848)+W(6,1039805619,-1113709765,1021721886,-1114032290)+W(7,-1127481518,1027813594,-1146515621,-1116189732);WS(1065708113,-1121751611);
sum1=W(0,1004700116,1033929377,-1113367966,-1151170552)+W(1,-1203182552,-1152107167,-1124121476,1029908854)+W(2,1028879143,1048992314,-1102777150,-1132161740)+W(3,985230639,-1118004497,-1106962671,1021289212)+W(4,-1130586604,-1123817297,1034637855,1008580363)+W(5,1024087440,1024857134,1010684790,-1145749780)+W(6,997138991,-1119780649,1029317996,-1122909571)+W(7,1018524741,1030859440,-1119558682,-1110778290);sum2=W(0,-1128031215,982756722,1007192988,1022085973)+W(1,-1176062153,1022708360,-1124806095,1012976820)+W(2,-1087213694,-1070139299,1078660314,1059325611)+W(3,-1120463845,1033425170,-1095156098,1030136738)+W(4,-1079390657,-1159362498,-1179370697,1067996709)+W(5,-1138793506,-1124014927,1019962283,-1131018297)+W(6,-1110724756,1028041806,1000911377,1033764027)+W(7,1016277465,-1138055830,-1121497459,1025926144);WS(1067144001,1026092834);
sum1=W(0,1049810486,1020396467,1014388109,1005864375)+W(1,-1120236446,-1132016387,1040462414,-1103125415)+W(2,1055042333,1042867979,-1100539124,-1110877439)+W(3,-1107048544,-1116193256,-1096204250,-1103579165)+W(4,1031992147,1044290490,-1126225268,-1110133357)+W(5,1010104860,1031444773,-1091768605,1048911295)+W(6,1034565181,1034066560,1016160519,1033891677)+W(7,1030176378,1031923300,-1112003369,-1114007278);sum2=W(0,-1123834023,1045671991,-1108591076,-1130823435)+W(1,-1114604843,1024976861,-1106172311,1036568073)+W(2,-1133291790,1058163296,-1095898825,-1112679806)+W(3,1033105292,-1122476787,1057311204,-1115701009)+W(4,-1100325346,-1113640367,1030441654,-1107310218)+W(5,1035411458,-1111920852,1044352434,-1097367248)+W(6,1016405480,-1116067001,1031713190,-1128226189)+W(7,1031834977,-1121017007,1014762708,-1106561364);WS(1057420226,-1092362255);
sum1=W(0,1044920519,-1144052776,1020346174,1032475105)+W(1,-1114304581,-1116794957,1027257637,-1103664666)+W(2,1052978802,1055322687,1019256762,-1121587297)+W(3,-1103967019,-1100439285,-1116373310,-1096869991)+W(4,-1104246416,1040777765,1033058515,-1123769862)+W(5,1018564517,1036089864,-1096789598,1028318277)+W(6,1016898380,1041983019,1030782351,1024808486)+W(7,1021198731,-1130998630,-1106323631,-1118572551);sum2=W(0,1016741405,-1130764191,1006994613,-1134184569)+W(1,-1102863001,-1103907912,1043863088,1020516693)+W(2,1033077740,-1112456708,-1134366153,1034914936)+W(3,-1084447988,-1076633620,1071901111,1060988002)+W(4,1043198162,-1132669129,1009154259,1033598449)+W(5,-1098165823,-1118646231,1018979141,1043355315)+W(6,1016038391,-1126067903,1021229932,989883430)+W(7,-1113048166,-1118544043,1022348007,1034096544);WS(-1105493768,-1082709441);
return clamp(mstd0 + 5.0 * vsum / wsum * mstd1, 0.0, 1.0);
}  // nnedi3
vec4 hook() {
vec4 ret = vec4(0.0);
vec4 samples[8];
samples[0] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-3, -1), 0);
samples[1] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-3, 1), 0);
samples[2] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-1, -1), 0);
samples[3] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-1, 1), 0);
samples[4] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(1, -1), 0);
samples[5] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(1, 1), 0);
samples[6] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(3, -1), 0);
samples[7] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(3, 1), 0);
ret[0] = nnedi3(samples);
return ret;
}  // hook
//!DESC NNEDI3 (combine_y, nns64, win8x4)
//!HOOK LUMA
//!BIND HOOKED
//!BIND nnedi3_int
//!HEIGHT 2 HOOKED.h *
//!OFFSET 0.000000 -0.500000
//!WHEN HOOKED.h OUTPUT.h / 0.833333 <
vec4 hook() {
    vec2 dir = fract(HOOKED_pos * HOOKED_size) - 0.5;
    if (dir.y < 0.0) {
        return HOOKED_texOff(-dir);
    } else {
        return nnedi3_int_texOff(-dir);
    }
}
//!DESC NNEDI3 (double_x, nns64, win8x4)
//!HOOK LUMA
//!BIND HOOKED
//!SAVE nnedi3_int
//!WHEN HOOKED.w OUTPUT.w / 0.833333 <
float nnedi3(vec4 samples[8]) {
float sum = 0.0, sumsq = 0.0;
for (int i = 0; i < 8; i++) {
    sum += dot(samples[i], vec4(1.0));
    sumsq += dot(samples[i], samples[i]);
}
float mstd0 = sum / 32.0;
float mstd1 = sumsq / 32.0 - mstd0 * mstd0;
float mstd2 = mix(0.0, inversesqrt(mstd1), mstd1 >= 1.192092896e-7);
mstd1 *= mstd2;
float vsum = 0.0, wsum = 0.0, sum1, sum2;
#define T(x) intBitsToFloat(x)
#define W(i,w0,w1,w2,w3) dot(samples[i],vec4(T(w0),T(w1),T(w2),T(w3)))
#define WS(w0,w1) sum1 = exp(sum1 * mstd2 + T(w0)); sum2 = sum2 * mstd2 + T(w1); wsum += sum1; vsum += sum1*(sum2/(1.0+abs(sum2)));
sum1=W(0,-1129953383,1052077971,-1115658697,1040079017)+W(1,-1100320116,1052646725,1056937139,-1112255447)+W(2,991372703,-1106109018,-1091236407,1039284509)+W(3,-1108390802,1030287040,-1112818013,1013856427)+W(4,-1102425550,1027055297,-1119789534,-1107150591)+W(5,1029401490,-1121552872,1033358144,-1089460941)+W(6,1043570389,-1111268755,-1097729145,1057992884)+W(7,1028923089,-1132036495,-1110301789,1044897031);sum2=W(0,1026461175,1041449883,-1118430023,-1108031914)+W(1,1041814131,-1076980873,1072973866,1032549274)+W(2,-1121140359,1028730196,-1111091488,1017353224)+W(3,-1138465879,-1127880506,-1121430441,-1132764107)+W(4,1027150813,-1122068949,1013768747,1012288055)+W(5,-1082819831,1036691428,1026059807,1049697467)+W(6,1027133694,-1116481805,-1152272302,1041587393)+W(7,-1141547063,1012449399,1025296987,-1122016279);WS(-1098744132,1034278418);
sum1=W(0,-1124165708,1041815523,-1145635621,-1103397220)+W(1,1026719460,-1092523700,-1099348442,-1110800938)+W(2,1032193166,-1088889154,-1100009602,1022646298)+W(3,-1136800346,-1098235958,-1104673163,1022064347)+W(4,-1120033612,1021903208,1050544938,-1105248316)+W(5,1047722705,994253234,1035939706,1050332487)+W(6,1057456646,992386946,1017012340,1037024150)+W(7,1051861685,1007925993,-1126668889,1045722836);sum2=W(0,1038271179,-1138123466,1051137052,-1097631923)+W(1,1038061501,1066995446,1047950529,1016052501)+W(2,1036023945,-1086456688,1052164534,-1098093629)+W(3,1049634734,-1088937960,-1092315790,-1103222197)+W(4,-1101382095,1030554459,-1103655169,1049915324)+W(5,1044310058,1039796029,-1103587135,1053016941)+W(6,-1097740488,1002073396,1022295275,-1101624661)+W(7,-1095498431,1037237655,1009745942,1025704121);WS(-1082862242,-1106529553);
sum1=W(0,-1136558799,-1134799464,1035507577,-1130854575)+W(1,1011297096,1017516694,1050921813,-1106220300)+W(2,1003802452,-1113237716,-1083278305,1032803517)+W(3,-1115833284,1036440480,-1166618304,-1130818358)+W(4,-1109420173,1040932752,-1121770975,-1111381151)+W(5,1058584025,1023914089,1042678624,-1090777253)+W(6,1038764911,1024022374,-1114891124,1053793791)+W(7,-1125528356,-1148371520,1003125716,1011564912);sum2=W(0,1017383795,-1105748811,-1114468103,-1113253112)+W(1,-1105653936,1062131274,1042070822,-1098397046)+W(2,-1130700635,1039489157,-1088478625,1043748521)+W(3,-1134989990,-1118262998,-1112481937,1040646747)+W(4,1042779663,-1111927878,1029911106,1046106511)+W(5,1049624420,-1113543954,-1106009556,1049941293)+W(6,-1102421728,1032413051,-1110290200,-1093962905)+W(7,-1124158867,1027657598,1032000907,-1120850913);WS(1055738180,1034492849);
sum1=W(0,-1114926341,-1128721888,-1111251428,-1130881323)+W(1,-1109424308,1051914904,-1099536939,1041145701)+W(2,-1112831856,1051860704,1058202118,-1112247108)+W(3,-1121239258,-1130346670,1026763985,-1114665081)+W(4,1039888312,-1103919286,1006685651,1042092597)+W(5,-1131357522,-1113433279,-1104400342,1055510938)+W(6,-1104754439,-1139575663,1022435899,-1089549409)+W(7,-1117425768,-1142807791,-1129253153,-1109075065);sum2=W(0,1036549925,-1116107500,-1118181126,-1110077216)+W(1,1011211476,1056055130,1042025735,-1103858204)+W(2,1023981444,-1117941654,-1090440399,1008268344)+W(3,1034090633,-1130298175,1001166765,1010863636)+W(4,1034915268,-1119533468,-1110853226,1049383148)+W(5,1058209450,-1113779586,-1101175453,1044994486)+W(6,-1099569204,1034145803,-1109857174,-1098004228)+W(7,-1107211558,1033292040,1026441284,-1121873216);WS(1056018244,-1109435672);
sum1=W(0,1025593127,-1108190871,-1121172806,1028147653)+W(1,1042157337,-1098176216,1044333967,1019179235)+W(2,1019247612,1041545807,1052400296,-1110312463)+W(3,-1144225212,1040728133,-1152440548,-1120006735)+W(4,1019648283,998861994,1029524274,-1156629272)+W(5,-1084323638,1048944704,-1126875818,-1105021998)+W(6,-1144495302,1027979993,-1112766254,1052575762)+W(7,-1117757541,-1127435447,-1115664295,960835398);sum2=W(0,1037565600,-1103457632,1020564842,-1133465842)+W(1,1023511793,1057142397,1043192653,-1114814180)+W(2,1005396583,1038394412,-1101196001,1028077461)+W(3,-1149118303,-1137100532,-1113456189,1022326514)+W(4,1042355402,1025892619,1020759546,-1109452473)+W(5,1042803000,1040091206,1033812672,-1103393926)+W(6,-1094252679,-1153222990,-1104532905,-1093624788)+W(7,1021621854,1028700597,-1130818626,1041416796);WS(1058353218,1042996167);
sum1=W(0,1015847030,-1107919793,-1094124879,1024954343)+W(1,-1110665693,1048862286,-1097421664,1036476495)+W(2,-1108641009,1049066134,1033331871,-1121159378)+W(3,-1102251787,1041347474,1023600450,-1137738249)+W(4,-1138612357,-1116609353,1009270680,1052314513)+W(5,1050687635,-1105910956,-1202266712,1044445371)+W(6,998963493,-1115498359,1018868510,-1102818752)+W(7,1023627001,-1119202191,1016588291,-1113493234);sum2=W(0,980939457,-1110048722,-1120540574,-1126808420)+W(1,1037410136,-1106277561,1033167871,-1123796075)+W(2,-1139817292,-1116671070,-1166268225,1002142140)+W(3,-1142652688,1011961658,-1143978200,-1134378480)+W(4,-1075343834,-1110843188,1039187917,-1098896413)+W(5,1075199384,991431992,1032482295,-1086151008)+W(6,-1127002394,-1163241473,-1123555130,1058982643)+W(7,1027681870,-1117918702,1021947375,1028067074);WS(1065448321,-1123448424);
sum1=W(0,1010310940,1048779866,1042933049,1033675765)+W(1,-1130617674,1054681092,1053164479,-1135157253)+W(2,1037821135,-1096402228,-1088933089,1045868403)+W(3,-1107423852,-1132569296,-1112063319,1029877230)+W(4,-1098481070,1033876859,-1107290229,-1113419593)+W(5,1025088582,-1126554424,1028430645,-1085464413)+W(6,1043193000,-1114258373,-1113028565,1052703622)+W(7,1039088003,992526257,-1131689691,1039463880);sum2=W(0,1027463162,-1115592424,-1118632904,992398551)+W(1,-1119896935,1058308065,-1094541616,-1110914988)+W(2,1024218964,-1139018826,1052134722,-1100289244)+W(3,1036361104,-1114310803,1043392525,-1111923136)+W(4,998577524,-1122494561,-1143518596,-1109433050)+W(5,1059518579,-1103007923,-1116426235,-1095126430)+W(6,-1109739820,-1115201103,-1121464784,1038527426)+W(7,1020338285,-1128089075,-1120049915,1004586244);WS(1050696068,-1101686596);
sum1=W(0,1025629886,1039198082,1032239887,1030829490)+W(1,1044306231,-1094476563,1035777849,1028506281)+W(2,1033300499,-1108777674,1053256444,1022456523)+W(3,-1126351518,1013615278,-1125496907,1025382374)+W(4,1033819234,1030627629,-1113406309,1015204626)+W(5,-1083567844,1049080890,-1111973334,1052890832)+W(6,1028011096,1009469122,1026744658,-1095460989)+W(7,1022077689,-1117484787,1014700692,-1117978119);sum2=W(0,1033160533,1028975273,-1116235595,-1123705959)+W(1,1019539230,1055127070,-1105037500,1021465594)+W(2,1030761443,-1104569658,1039390029,-1115261066)+W(3,-1122567677,999405400,1024962787,1021971134)+W(4,-1094422871,-1122943830,-1139597844,1034058997)+W(5,1036912081,1037858431,-1103106284,-1106553103)+W(6,1034816057,997585040,1034945731,-1113630050)+W(7,1014360364,1023175710,-1137214108,-1131788338);WS(1058623938,1044469574);
sum1=W(0,1035147318,-1141312974,-1108426137,1045615020)+W(1,1050348390,-1079944741,-1105886038,1047639223)+W(2,1044899106,1021302290,1039515483,1030161626)+W(3,1044251461,991624716,-1167333042,-1132009366)+W(4,1044306859,1030580258,1044911680,-1135193336)+W(5,-1085342603,1051720601,1043270872,-1122107414)+W(6,-1110191310,1041545713,1041363874,-1100470855)+W(7,-1100960996,1042676794,1040848727,-1180200419);sum2=W(0,-1112584470,-1101780852,-1097249916,-1126998679)+W(1,1026650453,1050619160,-1124055793,-1125720699)+W(2,1035354845,-1115949975,1044368398,-1098785634)+W(3,-1117822839,1013784870,1036370417,-1103280207)+W(4,1037003529,-1122142287,-1118913729,1048536708)+W(5,1058508674,-1117660887,1008038822,1040132893)+W(6,-1106591466,1006096779,-1121056345,1037637019)+W(7,-1104576316,-1119752481,-1116815483,-1109803757);WS(-1092650820,-1093598320);
sum1=W(0,-1136033646,-1107026560,-1111185837,-1126483198)+W(1,-1119240794,-1101350837,-1096033968,1019177644)+W(2,-1108863241,1042409572,1057301262,-1095523617)+W(3,-1126435736,1035081684,1040959081,-1113123137)+W(4,-1113511425,1034982933,1028684103,1032567139)+W(5,1042563567,-1118967697,1025024233,1059010394)+W(6,-1108714423,1023629806,-1118984463,-1131092420)+W(7,-1106962654,-1142697342,-1128061252,-1114101506);sum2=W(0,-1158272012,-1107189637,-1134435633,-1118904411)+W(1,1030464194,1057018316,-1120249847,1013234849)+W(2,1025489390,1024832618,1048792270,-1106482941)+W(3,1028128070,-1125347555,1031754422,-1129648553)+W(4,992574886,-1122133752,-1150017862,-1102280300)+W(5,1062197029,-1097179586,-1146867651,-1083559741)+W(6,-1114392001,1021081809,-1115216614,1040811198)+W(7,1029475610,993658022,-1112304821,1031998303);WS(1058173058,1066808129);
sum1=W(0,-1099127505,1036577094,1035236882,-1107348220)+W(1,-1113478482,1029276252,1044208414,-1103913530)+W(2,-1113016318,-1100723463,-1097605967,1040539139)+W(3,1000206250,-1122925746,1029619500,-1120477164)+W(4,1043659283,-1105652573,-1121094224,1041707116)+W(5,1039741986,-1121409754,-1107481241,1046852514)+W(6,1043551606,-1115290924,1032545388,1044710619)+W(7,994694705,950366748,1013015214,-1133641268);sum2=W(0,-1105723160,-1120175931,1034130054,-1094008764)+W(1,1052425931,1002356625,1064201383,-1087139249)+W(2,1034445536,-1114835724,-1089869944,1056772124)+W(3,1037095176,-1129286431,-1123264660,1012087213)+W(4,1042930394,-1124103013,1011760553,1031813868)+W(5,-1098172076,1006833373,-1131636845,-1110465854)+W(6,-1102352886,1014923704,1007319139,1043061462)+W(7,-1111397998,993051546,1016549099,1040830367);WS(1061928770,1027279769);
sum1=W(0,-1113862823,-1162686055,-1100123699,1034406912)+W(1,-1111710246,1056786929,-1096018034,1039933724)+W(2,-1109997378,1044907121,1056534441,-1111349982)+W(3,-1114279935,1031029722,1022437288,-1113344954)+W(4,-1109708970,-1128579510,1033006716,1029564087)+W(5,1037263862,-1109765633,1007368299,1050604450)+W(6,1038664521,-1101798872,-1113416432,-1098017894)+W(7,1027389387,-1113862289,-1105438789,-1116167797);sum2=W(0,-1108403600,1031363022,-1115270559,1026006751)+W(1,-1122004937,1031769509,-1104904057,1035073774)+W(2,1015050843,1027760004,-1106336513,1035952663)+W(3,-1133483016,-1118390529,1019789656,-1124438030)+W(4,1033798448,-1139293944,-1130316822,1024783342)+W(5,1039898935,1021529214,1025961213,1037041630)+W(6,1027825620,-1096601581,-1112547455,1057393141)+W(7,-1128829234,-1106336479,-1105185563,-1121305243);WS(1053752708,1043937257);
sum1=W(0,-1112521242,-1098204331,-1105170221,-1114168512)+W(1,-1095288434,1066642253,1046102006,-1097902456)+W(2,-1114520925,-1100810554,1054367941,-1094410051)+W(3,-1105295129,1031167873,-1121904763,-1115668990)+W(4,-1104934543,-1113606305,-1109039567,1031197758)+W(5,1070561411,-1089903115,-1098767200,1042705158)+W(6,1032266099,-1108028099,-1100846418,1038022813)+W(7,-1123380722,-1118408200,-1115062077,-1114135854);sum2=W(0,-1144787532,-1094418907,-1090786559,-1113064749)+W(1,1041111385,1053253351,1009808406,-1115681675)+W(2,-1136936214,1020895003,1015714915,-1130408019)+W(3,-1121651306,1028089270,-1117683238,1022660811)+W(4,-1102980167,-1129681067,-1136678198,1038982572)+W(5,1054413523,1035936399,1023762114,1041806798)+W(6,-1114777947,1001107148,-1114747797,1024043560)+W(7,-1123371786,1019986163,-1129865467,1021536435);WS(-1077899937,-1095640595);
sum1=W(0,1026389718,1036208246,1032811586,1038010313)+W(1,1038149954,-1112596654,-1100196466,1040451742)+W(2,1041468735,1025151035,1057575303,1012098034)+W(3,1035936827,-1117388883,-1108998502,1036152598)+W(4,-1123908524,-1117534996,1033727032,-1097475626)+W(5,-1096170677,1043001855,-1116405267,1051006893)+W(6,-1102384270,-1122502968,1035677341,-1089360567)+W(7,1019229383,-1122221082,959089718,-1117118702);sum2=W(0,1031626038,-1111295182,1037203464,1014408115)+W(1,1024306585,1046645930,-1111204470,1042237958)+W(2,-1108949069,-1102667672,1036175171,1005347958)+W(3,-1155665460,-1098212068,-1105300490,-1129272561)+W(4,1033188726,998532726,1006518986,-1112987386)+W(5,1040504174,-1142339005,1002908510,1033012571)+W(6,-1113110436,1028194944,1028667874,1022488131)+W(7,1026136762,-1118275484,991631364,1012028387);WS(1052188868,-1105025774);
sum1=W(0,-1127133881,1046329385,1053332527,1026006805)+W(1,1039605133,1041936861,1054121990,-1111238899)+W(2,1027868467,-1100202284,-1098161716,1036489378)+W(3,1040022103,-1112308133,-1114580002,1028341284)+W(4,-1102124985,1015047702,1016895952,-1093124457)+W(5,-1108714798,-1123947762,1031180874,-1093232644)+W(6,1042303686,-1100188956,-1116894641,1047964177)+W(7,1033044781,-1120167377,-1114267170,1042593657);sum2=W(0,-1090155459,-1111850856,1038124206,-1098242390)+W(1,-1083172772,1045262621,-1111691725,-1080159437)+W(2,1066420271,-1115094311,-1107342132,1043663143)+W(3,1052081121,1039539139,1045364599,1065821018)+W(4,-1110800852,1015159009,-1146833441,1035251585)+W(5,-1116129960,1037947101,-1114532383,1033462452)+W(6,1036826747,-1118954060,-1115149205,-1117401930)+W(7,1031476522,-1144829650,-1159263732,-1121811075);WS(-1102870152,1022622513);
sum1=W(0,1035394969,-1108831748,-1105950504,1055644087)+W(1,1045987408,1039545500,1041190721,1045649819)+W(2,1031111560,1056957379,1049616144,1030573816)+W(3,1041054212,1055423038,1047436506,1035095156)+W(4,1043185370,1029691760,-1099940547,-1114669622)+W(5,-1093030704,1034170571,-1105006556,-1098060649)+W(6,-1084377448,1032315050,1028754581,-1093912525)+W(7,-1094643096,1002093997,1008186016,-1093512673);sum2=W(0,1037387540,-1098862516,1070336926,-1084145430)+W(1,-1096604175,1068317532,1050914492,-1091365810)+W(2,1043123500,-1083131387,1054262144,-1095647742)+W(3,1053814194,-1081281727,1046449081,-1106696806)+W(4,-1095516697,1056626754,-1086613448,1055168354)+W(5,1069441477,-1099937369,-1097405209,1050568943)+W(6,-1085743049,1045945631,-1106692290,-1090345251)+W(7,-1086819148,1058187197,-1106594556,1048225937);WS(-1069426976,-1120848841);
sum1=W(0,1035259664,997868135,1037072255,1036938172)+W(1,1052190352,-1092031243,1031706371,1047028417)+W(2,1039915051,1026900661,1045414333,1041456894)+W(3,1036563112,1015048091,-1119324359,1015525967)+W(4,1049019033,1025792718,1032159990,-1103659451)+W(5,-1081236347,1049696791,1020529436,-1095105906)+W(6,1032303833,1035011641,1038916826,-1090672009)+W(7,-1146656500,-1145253028,1039253091,1008361890);sum2=W(0,-1130807793,-1132163681,1029191442,-1131675185)+W(1,-1119117212,-1086087178,-1115933340,-1137547874)+W(2,-1139313154,1014175682,-1112002886,-1138868050)+W(3,-1144490820,-1135148482,1023290113,-1127085641)+W(4,1018117017,-1115031522,1024984252,-1114450600)+W(5,1063181450,1006729954,1037592454,1033829647)+W(6,-1143924164,-1134939410,1017409241,1026390676)+W(7,1007342770,974288160,-1125048401,-1138352802);WS(-1092511940,1056045775);
sum1=W(0,1036571263,-1107220477,-1122413709,1034351639)+W(1,1044122211,-1099810889,-1123595634,1026078569)+W(2,-1113387827,1050308552,1052039823,-1145831724)+W(3,-1119385695,1047960215,1032192235,1018446892)+W(4,1031880235,-1128037178,-1109413949,1034842253)+W(5,-1106066347,1038991202,-1106487287,1048156900)+W(6,-1095462256,1039930976,1016305349,-1096815763)+W(7,-1105858435,-1115254417,-1145490603,-1104039774);sum2=W(0,-1125984965,-1145267460,1017418680,-1129634341)+W(1,1032304695,-1112808134,1019434782,-1131211232)+W(2,-1135310730,-1164412329,1027589163,-1126835561)+W(3,-1115706548,1024240430,1012340975,1030376830)+W(4,-1108053053,-1078809375,-1086264457,1033383321)+W(5,1017461836,-1098879629,-1073693037,1035592777)+W(6,1048432434,1073307463,1071963841,-1125819067)+W(7,1037084632,-1110470100,1053688201,-1132396034);WS(1042257800,-1115776325);
sum1=W(0,1032352980,-1098526814,-1107281138,-1146926115)+W(1,-1114314051,-1109412128,1043068219,-1109330569)+W(2,-1111850704,1039093055,-1097266597,1039411448)+W(3,-1123393177,-1104810789,-1100632132,1040829028)+W(4,1045994468,-1117084567,1010013391,1038400362)+W(5,-1144690495,-1120663934,1043908518,-1111135982)+W(6,-1128243973,-1122589083,-1098521248,1057956169)+W(7,1025450855,997333453,1029880783,1048043508);sum2=W(0,-1131137316,-1118253197,-1139977433,1029402915)+W(1,1023173531,-1122404168,-1122896144,1031911869)+W(2,-1123803784,1037623928,-1098422336,1023792141)+W(3,-1128776324,1036548666,-1106514445,1014267385)+W(4,1040550677,-1112092070,1041328458,-1102627522)+W(5,1061434285,-1087193418,1058291503,-1088615745)+W(6,1067804318,-1079538943,-1072676007,1075510495)+W(7,1035151624,-1107997040,-1106625048,1045458757);WS(1062572194,-1113128476);
sum1=W(0,1032745069,-1098454710,-1105909778,1025054504)+W(1,-1115121012,-1102647392,1040855323,-1111717923)+W(2,-1108655721,1048800872,-1094658254,1039928305)+W(3,-1121873307,-1107065062,-1098634802,1042636501)+W(4,1048922046,-1107189334,1030405814,1035303099)+W(5,1030883818,-1120733568,1047137430,-1111940687)+W(6,-1114397119,-1121522301,-1102007432,1056642050)+W(7,1028123977,-1129454014,1030940241,1045405821);sum2=W(0,1015935669,1029828517,-1138228901,-1114559261)+W(1,1034980574,-1095660939,-1110320033,-1119968612)+W(2,1031387619,-1103434641,1043622789,-1134322843)+W(3,1028413753,-1104010102,1043842027,-1130912561)+W(4,-1107208114,1036930870,-1102431407,1049277284)+W(5,-1090290563,1061616421,-1086736101,1062476231)+W(6,-1079628774,1068626110,1075586093,-1071408041)+W(7,-1110973692,1043722127,1036267766,-1100585862);WS(1060774594,1031131703);
sum1=W(0,-1105426838,1048858052,1045023814,-1107942447)+W(1,-1108928460,1053310638,1057375412,-1102134060)+W(2,-1109912496,-1121814959,-1086363546,1030069408)+W(3,1016389396,-1112979299,-1121700033,-1111247296)+W(4,1019498368,-1115599332,-1109726834,1022102280)+W(5,1054202179,-1117349999,1024119623,-1089780107)+W(6,1045750878,-1112636534,-1105657043,1056436400)+W(7,-1115080444,1034439495,1020787328,1017717699);sum2=W(0,-1117613837,1015990489,-1115841609,1036474850)+W(1,-1124280889,1046600726,-1114813616,993333704)+W(2,-1147158916,-1101686418,-1127188969,-1120272689)+W(3,1006917274,-1111325506,-1106242516,-1136721538)+W(4,-1121605429,-1155010952,1027456791,-1115206474)+W(5,1051997378,-1145891812,-1115442992,1041891165)+W(6,1035140408,1009536026,-1135549634,-1122067781)+W(7,-1113122752,1017045509,1019245009,1020051521);WS(1060194466,-1100017114);
sum1=W(0,-1110455654,-1101985628,-1105747811,-1107280066)+W(1,-1102634810,-1106901713,1018718942,-1108454907)+W(2,-1103041901,1055521256,1046100821,-1103570769)+W(3,-1103753711,1059153514,1047438565,-1108837738)+W(4,1043733237,-1106475814,-1103466926,1059466063)+W(5,1036011765,-1094721336,-1106517942,1057500851)+W(6,-1113318903,-1108487663,-1110005824,1016328357)+W(7,-1111475141,-1118902112,-1116101330,-1139455183);sum2=W(0,1016306377,-1123533287,-1116481221,-1134258178)+W(1,-1121134035,1050682292,-1150894505,-1119701101)+W(2,-1123898542,1016401385,1003934853,-1110905440)+W(3,-1131815221,1025651043,1010383122,-1120388479)+W(4,-1130975497,-1124034546,-1123729210,1032034504)+W(5,1050657130,-1118895679,-1119840142,-1129842733)+W(6,-1114630639,-1135589646,-1115758498,1032136922)+W(7,-1115813895,-1126135829,-1140270714,-1135861370);WS(-1094780356,-1096037829);
sum1=W(0,998269945,1048993133,1051641704,-1094564683)+W(1,-1099790159,1021385644,-1105882161,-1106439374)+W(2,-1116696534,-1093602407,-1110801281,1039955171)+W(3,-1132274079,-1094848202,1040928722,1026955814)+W(4,-1097112145,1034946343,-1109647669,1042321778)+W(5,1039341071,-1101585581,-1120792141,1049078036)+W(6,1056382370,-1124429730,1020526630,1035258371)+W(7,1053064740,1027970323,-1106396689,1035779188);sum2=W(0,-1129205035,-1107142480,1029577680,-1137596463)+W(1,1039861741,-1098569120,1047351132,-1126343315)+W(2,-1123052878,-1116615219,1038608299,-1126312459)+W(3,-1125851727,-1107291575,-1112533224,996868828)+W(4,1015352075,1012914617,-1113448033,1038439017)+W(5,1073186805,1046610276,-1114069586,1070713407)+W(6,-1073950732,1007385420,-1144677526,1038004689)+W(7,-1107100148,1037961064,-1108941862,-1077903771);WS(1053603780,-1115461008);
sum1=W(0,1030817204,-1095449155,-1097293942,-1137418943)+W(1,1021933093,1049349309,-1092155167,1016256157)+W(2,1024187323,-1107838901,-1125654285,-1107174285)+W(3,1027865701,-1115980033,-1112035518,-1121722108)+W(4,1046317951,-1134044169,1014991997,1049585228)+W(5,1058232189,-1129232467,-1118818050,1056038503)+W(6,-1104780729,1042320778,1020919504,-1109114845)+W(7,-1096840466,1040979266,1033110781,-1104946775);sum2=W(0,-1122607696,1031925962,-1115237141,1033231462)+W(1,1021774826,1053325526,1042960949,-1126070520)+W(2,1023918789,-1112013861,-1107200469,-1120788802)+W(3,-1155086158,-1120863174,-1114604471,-1127228708)+W(4,-1115623012,1016053183,1022510111,-1111323807)+W(5,1049744257,-1130112624,999155791,-1119706606)+W(6,1026671690,-1115047971,-1116359926,1005054791)+W(7,-1119270266,-1114777589,-1133439199,-1107279270);WS(1049944452,-1118177299);
sum1=W(0,1034605113,-1117712807,-1113835168,1004954534)+W(1,1046072096,-1089565448,1049772083,1042179871)+W(2,-1115172412,1028249398,-1087875066,-1119832136)+W(3,-1125265763,1016032028,-1115173764,1021914321)+W(4,1044152226,-1113909672,1036431958,-1131743895)+W(5,-1102704504,1047091406,1034469319,-1105992217)+W(6,1023284205,1037431354,-1117867957,1051885673)+W(7,1023720959,1027934165,-1128742159,1032417701);sum2=W(0,-1102028824,1033866732,1053033259,-1122048832)+W(1,1042109429,1035235216,-1083784972,-1098388207)+W(2,1035691269,-1103367787,1056376564,1037898289)+W(3,1026959129,-1128193065,1034674212,-1120157845)+W(4,1014156522,1033801710,-1100778293,-1121809206)+W(5,-1104400409,1046653262,-1112352078,1055740053)+W(6,-1120368299,1025902829,-1111071353,-1126110057)+W(7,984939091,-1153716682,997672170,1015248281);WS(-1165444096,-1119710264);
sum1=W(0,1034244741,1042802936,1051115175,1042994118)+W(1,1041081798,-1114386041,1051394930,1037778378)+W(2,1044760836,1039392600,1044466585,1016348739)+W(3,1049969601,-1111502020,1042064672,-1126699940)+W(4,1040688824,1032455940,-1108071955,-1098028621)+W(5,-1087521946,1029133552,-1120702728,-1088773549)+W(6,-1102706330,-1117660781,1045508004,-1089153334)+W(7,-1112154588,-1112358151,1043978432,987979863);sum2=W(0,-1169925094,1041247352,1060341068,-1113048377)+W(1,1022227231,-1081289783,999982909,1033233769)+W(2,1025958326,1036288861,-1090689511,973479782)+W(3,-1108998850,1055733822,1044034366,-1175748301)+W(4,1057359743,-1121919154,-1107478445,1067872749)+W(5,-1075624869,1030919570,-1112420946,-1089189226)+W(6,1048635178,-1108655271,1049895882,-1088323315)+W(7,1060416891,-1098757157,1042449401,1052769876);WS(-1077066897,-1138646112);
sum1=W(0,1009759453,-1106693383,-1092381223,1024267775)+W(1,-1105412061,1042083852,-1096180043,1034803609)+W(2,-1104989395,1050244398,1031147625,-1118414542)+W(3,-1099033634,1045342865,1024065726,1000523125)+W(4,1027242622,-1118474373,1025453154,1053014632)+W(5,1053447283,-1101608091,-1149202983,1051220983)+W(6,1023828386,-1113932053,1010847661,-1105039519)+W(7,1028746421,-1113130950,1023831870,-1110843104);sum2=W(0,-1133465912,1032956180,1032969077,1013870164)+W(1,-1118337904,-1095979039,-1118666398,1030888661)+W(2,-1156287199,1041525268,-1102611716,1030672570)+W(3,-1145191680,-1129518532,-1121602320,1014316520)+W(4,1076869477,1037977967,-1105627059,1050672871)+W(5,-1069322680,1026329625,1017901782,1063553933)+W(6,1026168517,-1153801247,-1169512700,-1088200357)+W(7,-1120095414,1031405165,-1126632288,-1129519600);WS(1059038658,1028594353);
sum1=W(0,-1132336275,1035531624,1027001704,1030613999)+W(1,1038489844,-1152158733,1032402678,-1117493948)+W(2,1044643916,-1088517514,-1098315241,1028206993)+W(3,1043840791,-1091506711,-1103996748,1007880004)+W(4,-1094328658,1026431736,1046010101,-1089493909)+W(5,1052296065,1044337864,1043051950,-1106243079)+W(6,1049587060,1032918142,1028671678,1042911580)+W(7,1044000434,1036291743,-1137633217,1035409673);sum2=W(0,998383694,-1109062791,-1105269646,-1118922878)+W(1,-1123342062,1052555170,1013977255,-1117830208)+W(2,-1124252768,1040874722,1041098100,-1109116635)+W(3,1026377322,1040986964,1030669290,-1104593856)+W(4,1002191246,-1111322692,-1110275215,1050974192)+W(5,1051646415,-1114439732,-1114811922,1046707356)+W(6,-1098775079,-1121186646,-1108145020,1036678597)+W(7,-1098750401,-1115223671,-1115485971,-1122565606);WS(-1089038754,1070610314);
sum1=W(0,-1126323612,-1099849389,-1112569734,1006818038)+W(1,-1107760774,-1101892281,-1090696922,1015379312)+W(2,-1104391397,1047988033,1028620400,-1110158738)+W(3,-1113068735,1039930893,1043536901,-1114553627)+W(4,1036085850,1043645143,1038135388,-1110914124)+W(5,1045400523,-1118717763,1040122382,1053776546)+W(6,-1132043583,1016954112,1002760462,1040930437)+W(7,-1114659286,-1139206280,974497054,-1119469430);sum2=W(0,-1119340063,1020623843,1029972206,-1120363159)+W(1,1035843986,-1094446255,-1137841818,-1119078724)+W(2,-1106992039,-1128810267,1049035968,1035175754)+W(3,-1129270833,-1123131987,-1123633215,-1128507307)+W(4,1026762268,-1099605665,-1111466112,-1135126990)+W(5,1017486399,1042926586,-1102195223,1064611900)+W(6,1039608352,-1112006203,1014516782,-1094749382)+W(7,-1197948696,-1129209333,-1136077530,-1194223384);WS(-1120775200,-1094115106);
sum1=W(0,-1133090109,-1099947345,-1112921839,-1117113151)+W(1,-1098081804,1057531117,1050818928,-1096583070)+W(2,-1119648950,-1098660371,1051254629,-1092969217)+W(3,-1105675228,1035449878,926574177,-1113650835)+W(4,-1097096777,-1151313622,-1107062579,1046145098)+W(5,1067142180,-1094480203,-1100319675,1048882552)+W(6,1035250696,-1111825641,-1100195749,1054137781)+W(7,1024424221,-1114839546,-1118408614,-1115652196);sum2=W(0,1002183233,-1113707943,1031116535,-1122846232)+W(1,-1112395279,-1080457005,988543074,-1129631292)+W(2,1001287537,1037716560,-1097715519,1009610216)+W(3,-1139829356,1031806339,-1112112395,-1122731504)+W(4,1034244245,-1116699784,1030028661,-1118531646)+W(5,1064104967,1037992478,1039671963,1027624889)+W(6,1011412016,1016046512,-1115290878,1052372051)+W(7,-1128697528,1022404309,-1122589730,1031591085);WS(-1083041826,-1088446577);
sum1=W(0,-1139686881,998832115,-1138041180,-1112868382)+W(1,1035817611,-1106005004,-1108164766,1037998481)+W(2,-1112414119,1042585939,1054394898,1028314191)+W(3,-1152205450,1027830053,1037009680,-1123391616)+W(4,1026886463,1007627162,-1123809603,1041478665)+W(5,-1092605991,1036557383,-1137074328,1018740405)+W(6,-1105339656,1016960213,1043199331,-1096954228)+W(7,-1128384493,-1161448845,949272012,-1122534560);sum2=W(0,-1112615912,-1080108640,-1080772886,1036010005)+W(1,1026422893,1067023817,1042883784,-1108103320)+W(2,-1112407780,1043418298,1065911618,1043952518)+W(3,-1142574731,1019038275,-1121396391,1025610945)+W(4,1033469827,-1118689741,-1113551367,-1110295637)+W(5,-1106557392,1039881895,-1123719569,991295446)+W(6,-1113416335,986544491,1028046949,1015020021)+W(7,1027619053,-1114551687,1028536389,-1118133995);WS(1059656866,1032254503);
sum1=W(0,1032901415,-1096624519,-1087438145,1051132033)+W(1,1051046262,-1092342973,-1093591378,1050001035)+W(2,1041030197,1042870865,1024747921,1024623477)+W(3,1040932616,1037509038,-1112612011,-1129401004)+W(4,1045530925,1031967406,1047684766,1040121644)+W(5,-1096329486,1050005760,1044069767,1040228252)+W(6,-1092498854,1048633756,1045316401,-1100479077)+W(7,-1089145703,1050363772,1041789317,-1100524478);sum2=W(0,-1120765513,1004192518,1054927280,1033723840)+W(1,-1121736497,-1097617496,1032813206,-1151198348)+W(2,-1111733852,1024454465,994767756,1020727265)+W(3,-1112033268,-1107458988,-1124374145,1010605379)+W(4,1009606707,-1117945313,-1110893464,-1094930774)+W(5,-1096835022,-1121652889,-1111742424,1018976553)+W(6,1049726638,1030389401,-1144829382,-1114598300)+W(7,1057385902,1035752486,-1120942585,1040837102);WS(-1076352721,1061176787);
sum1=W(0,1039493528,-1094852257,-1095051668,-1115567878)+W(1,1022350014,1044286862,-1086623624,1037423542)+W(2,-1123591576,1049595083,1057477914,-1114677168)+W(3,-1114839417,1044280124,1036655988,-1143365955)+W(4,1040618482,-1116442287,1038434246,1047858891)+W(5,1036068672,1022609452,-1114755255,1057001770)+W(6,-1095930750,1044588197,1037805114,-1086915318)+W(7,1029598047,-1119274549,1031697064,-1108386213);sum2=W(0,-1109735653,1012246375,-1104206436,1018488840)+W(1,-1112517262,1056346033,-1114523900,-1113462230)+W(2,-1112282852,-1106712811,1029007760,-1108529674)+W(3,1011039855,-1115338003,-1113168793,1002563934)+W(4,-1117505825,-1122544930,1004158510,-1111729053)+W(5,1051780099,-1133433375,-1111468709,1042992721)+W(6,1035563022,-1136000711,-1114816198,1042618199)+W(7,-1112797570,1037211560,-1122022613,1024458488);WS(1037340944,-1121222187);
sum1=W(0,-1118176747,-1110298712,1040689218,-1116495838)+W(1,-1094205341,1064260668,1052341602,-1096308023)+W(2,-1115640417,-1100646016,1052009702,-1095502171)+W(3,-1105702479,1026863896,-1117627026,-1112496425)+W(4,-1106426924,-1119752153,-1106495021,1036502651)+W(5,1068943083,-1089978464,-1097659059,1044624667)+W(6,1004526500,-1108261518,-1099820424,1045175252)+W(7,-1112879076,-1111070831,-1110958217,-1108867801);sum2=W(0,-1134403694,1045056865,1043920878,1002312827)+W(1,-1105297347,1060319926,-1107896626,1025097519)+W(2,-1117960999,1018292031,-1100756735,1007461646)+W(3,-1129847887,-1108036266,-1136355134,-1123847191)+W(4,-1120905299,1019347263,-1124888335,-1113959010)+W(5,-1100397803,1028583233,-1120916959,1031903433)+W(6,-1106899263,-1134844462,-1119634731,1042137547)+W(7,1033071013,-1109200858,998264859,-1119650359);WS(-1087648930,1056984912);
sum1=W(0,1027762677,1043573475,1048727276,1027950097)+W(1,1043195617,-1092810048,1051177331,1025406415)+W(2,1031391740,1044809191,1038252876,1035903278)+W(3,1033673899,1020597221,1035706934,1023913741)+W(4,1015678999,1024202483,-1111974664,-1101873716)+W(5,-1082302860,1050173331,1016025318,-1091649404)+W(6,1038200652,998750650,-1156961168,-1097139061)+W(7,1041744649,-1114494621,1023377112,1042041459);sum2=W(0,-1113891962,1017090586,-1109665959,1035604443)+W(1,-1130359386,1061263788,1033553543,-1155240851)+W(2,1028100153,-1106256683,-1109330568,1025386829)+W(3,-1126789482,-1118236009,-1097657183,1016774458)+W(4,-1115818981,1006860245,-1121529027,1027481873)+W(5,1027230949,1039189933,-1124657042,1023852497)+W(6,-1113120233,999905578,-1123139111,1041592808)+W(7,-1121071325,-1109638591,-1132638677,-1101411950);WS(-1090940868,1045539156);
sum1=W(0,-1122547977,1036262295,-1111842948,-1125495305)+W(1,1022396558,1050733040,-1083395945,1049435900)+W(2,-1113477720,1023164412,1050803832,1034779456)+W(3,1017461170,-1119150102,-1141132416,1025152496)+W(4,1017057054,1021788462,1033322010,1024315123)+W(5,1016653136,1032259903,1041875702,1046781659)+W(6,1044787970,-1103054087,1045300311,-1084181811)+W(7,1039405571,-1121753565,-1119238479,1025666193);sum2=W(0,-1115334877,1045060155,-1154701652,-1111850352)+W(1,-1131783421,1041887968,1053683311,-1101312255)+W(2,-1121261620,1034919558,-1090960245,1037660946)+W(3,-1118719808,-1117531173,-1118627401,1008969141)+W(4,1033609440,-1109145509,-1128983709,1008422401)+W(5,1047082317,1009316297,1041457249,-1090718168)+W(6,1036748070,1030040522,1037394704,1034433310)+W(7,998924330,-1122112519,1034723828,-1109720341);WS(1058382658,-1101786424);
sum1=W(0,-1139041509,1040419632,1020557616,-1110270554)+W(1,-1114587164,-1089217895,1039037886,-1106470550)+W(2,1031022672,-1098005290,-1116816379,1023988544)+W(3,1026679274,-1105928314,1030444000,1028924449)+W(4,-1110579152,1021044303,1010032145,1042446649)+W(5,-1102603214,-1101971332,-1107378131,1052788411)+W(6,1048850952,-1136091053,-1110520967,1052497916)+W(7,1042985742,1036784631,-1142630143,1041387232);sum2=W(0,-1116694246,-1117334358,1021048143,-1122331173)+W(1,-1106162040,1058597177,985385246,-1133055086)+W(2,-1119866494,1040447045,-1096472079,1033705060)+W(3,-1119480360,1011504527,-1107345628,1019582103)+W(4,1034622720,-1109719947,-1141905806,-1121426033)+W(5,1062397265,-1092732322,-1111398337,-1111822939)+W(6,-1124693001,-1148551778,-1104483430,1007125953)+W(7,1026572561,-1124513225,-1142669219,1025700470);WS(1062970978,-1081266569);
sum1=W(0,1026249566,1049251698,1049067654,-1102316771)+W(1,1037424006,-1086541140,-1100292756,-1104248914)+W(2,-1122189220,-1101422105,-1092317470,1035596338)+W(3,1006845944,-1103019359,-1130063849,1016727466)+W(4,1039432874,1031488060,986432279,1040583110)+W(5,-1096033842,1046796153,1034368766,1040278772)+W(6,1049598341,1029733120,1039493185,1045287213)+W(7,1042202275,1032483937,-1132489681,1043296141);sum2=W(0,1024987284,-1095439435,-1092863213,-1108138297)+W(1,1038311792,991870971,1054820060,-1107013954)+W(2,999045582,1003248078,1019051815,-1140508767)+W(3,-1139420079,-1120196608,-1122507350,1010876103)+W(4,-1107350452,1030342296,1020893591,-1134447463)+W(5,1058790229,-1145193326,1023656240,-1104627754)+W(6,-1113643053,-1124168067,-1111721419,1049499199)+W(7,-1107048418,1036851190,-1111078930,1040683258);WS(-1090709444,1049440503);
sum1=W(0,1009000949,-1102968365,1025170444,-1112814366)+W(1,-1098104133,1055216649,1054801672,-1102384190)+W(2,-1117987732,994631719,1007027006,-1100420271)+W(3,-1118237822,1037835469,-1122456724,-1108681738)+W(4,-1107658202,1013557870,-1116166456,1021129071)+W(5,1055155742,-1102466049,-1112664461,-1108358704)+W(6,-1115514619,-1139587454,-1093799886,1062491877)+W(7,-1137063726,-1119596065,-1112800010,1032182427);sum2=W(0,1011116525,1031004177,-1125700925,1010269627)+W(1,1023655690,1056735713,991734042,1031226256)+W(2,-1139919503,-1116020697,1023598587,-1117593255)+W(3,-1132337311,1014084462,1030692092,-1131886173)+W(4,-1111184590,-1139731999,-1124401971,-1129465449)+W(5,1007034923,-1106780773,-1123603568,-1090395945)+W(6,1044588818,1019563835,1032362667,-1114530604)+W(7,1027760305,1003383541,1016903156,-1118660887);WS(1052605444,-1096548047);
sum1=W(0,1014261129,-1107118442,-1099989408,-1135269079)+W(1,1017149121,1004173259,-1095069609,1035728362)+W(2,-1106055602,1026600311,-1102684265,1022065234)+W(3,-1120275059,-1114974728,1029280393,-1122459306)+W(4,1022832721,1034237928,-1157809579,1035141158)+W(5,1042230040,1022065263,1014945855,1036930738)+W(6,-1123731628,1033708682,-1149699425,1051854441)+W(7,-1108029264,1040542518,-1120230985,1039321653);sum2=W(0,-1102121527,-1076350607,-1078862437,-1139099893)+W(1,1039987934,1067956735,1043522425,-1108414487)+W(2,-1096991255,1053122067,1072447081,1045186917)+W(3,-1102163660,1040872955,-1111637970,1033745090)+W(4,998819801,1024729710,-1129576496,-1097588090)+W(5,-1109442889,1032654822,-1134118593,-1111980043)+W(6,-1115256553,-1124332658,-1118463242,1044036972)+W(7,1044251533,-1115579557,-1123595298,1027886256);WS(1054231108,1025279114);
sum1=W(0,1020186806,1039341944,-1123453065,1020527399)+W(1,1046988234,-1092316960,-1104689967,1026191493)+W(2,1041704764,-1093206832,-1122753069,-1147857037)+W(3,1039867950,-1094240131,-1107112804,-1120557618)+W(4,-1119337841,-1160786718,1049493415,-1096862627)+W(5,1008801448,1041661776,1041541558,1034733383)+W(6,1050167121,1032223662,1034215919,-1108979241)+W(7,1043962418,1036558383,-1156220183,1027712531);sum2=W(0,-1125155383,1021067288,-1121143571,-1156731980)+W(1,-1140765671,-1079877582,-1101109237,-1153680156)+W(2,1030176462,1058234221,-1094350155,1018992688)+W(3,1018002108,1058386161,1064456596,1027890172)+W(4,1024911074,-1128517034,1019039796,1027150242)+W(5,-1088644111,-1110310177,1036906894,-1096825521)+W(6,1052444813,1000349534,1019841700,-1113080073)+W(7,1045751986,-1134555143,-1128055622,1024094624);WS(-1097731588,1025129315);
sum1=W(0,972033083,-1118357663,1037092684,1033609822)+W(1,1025915127,1050865438,1046113067,1036940225)+W(2,1018117854,1047810219,-1109542297,1037164536)+W(3,1021572178,1036701507,-1111680192,1009743167)+W(4,-1139849211,-1113410371,-1125480775,-1099469177)+W(5,-1143345853,1047135499,1035911587,-1089626010)+W(6,-1097851227,1031924197,1038594118,-1104510832)+W(7,-1110047355,-1120871309,-1146462713,-1113708160);sum2=W(0,-1134630348,-1105084635,1029789829,-1124965724)+W(1,-1143859545,1050249105,1035852445,-1138485084)+W(2,1030422253,1024721985,-1114135764,-1133066340)+W(3,1003464777,1033535897,-1120848177,-1121255807)+W(4,1036116775,-1123511646,-1132623148,-1119672690)+W(5,1057234226,-1097411434,-1106888257,1002738585)+W(6,-1117221657,1017260494,-1109817844,-1115375290)+W(7,-1110249095,1021514610,-1118819718,1007172972);WS(1064258306,1057427735);
sum1=W(0,1048078371,1002554246,1041288794,1046669668)+W(1,1043467602,-1117262306,1039217007,1049007041)+W(2,1040278032,1037075392,1041191743,1032131185)+W(3,-1135631084,1026049048,-1121877906,995640096)+W(4,-1107049340,1026345305,1024557366,-1094345727)+W(5,-1100296810,1017273727,-1126800432,-1092155570)+W(6,-1100720075,-1136038899,1027549470,-1101509636)+W(7,1034147956,-1111532367,-1134767685,1015117221);sum2=W(0,-1081609637,1066099523,1062132206,-1083389635)+W(1,-1090363224,1067427062,1066066300,-1079976349)+W(2,-1097029007,996873905,1049064133,-1100056051)+W(3,-1118886369,1035057689,-1137063332,1028030408)+W(4,1053156114,1022631188,-1127222139,-1122840851)+W(5,-1091867230,-1128121946,1027246780,-1105997303)+W(6,1048340523,-1115106526,1036294091,-1103783968)+W(7,-1104392578,-1117772337,1035025213,-1134953960);WS(-1082692450,-1121765493);
sum1=W(0,-1118487719,-1104534315,992292947,-1112587635)+W(1,-1111631170,1048175951,1049230729,-1105756568)+W(2,-1106833087,1028715132,-1089217933,1036199927)+W(3,-1109370235,1018481703,-1121927694,-1115752014)+W(4,1038416886,-1121296341,-1121302066,1015927970)+W(5,1051898365,1037146590,1043167221,-1104867982)+W(6,-1104675396,1030891673,-1113442509,1057590961)+W(7,1022215305,-1113425325,-1121397517,1012516667);sum2=W(0,1026098771,1021710972,1040868564,-1102561169)+W(1,-1113975834,1041914200,1048116590,-1149524831)+W(2,-1105234356,1039729263,1051191259,-1157274159)+W(3,-1102778536,1035375403,1018638481,1008573990)+W(4,1009959824,-1125337962,-1123351116,-1126923948)+W(5,1042300553,-1123062396,1024724387,1037970343)+W(6,-1097615037,-1105344931,1021621986,1032086087)+W(7,-1115667744,-1105611058,-1109718449,-1115639834);WS(1063145570,1065948321);
sum1=W(0,-1107415145,1041877314,1042647928,-1113780043)+W(1,-1125795137,-1105676766,1043379605,-1103697695)+W(2,1032469064,-1098882227,-1093770877,-1119226457)+W(3,-1148759702,1007275454,1029896809,-1118570362)+W(4,-1105577826,1034763992,-1113344071,1023153433)+W(5,1058030732,-1107021830,-1113485016,1035095074)+W(6,1047432094,1028002580,-1116457366,1049757493)+W(7,-1110160160,1021171309,1033670420,-1106671851);sum2=W(0,-1119163512,1034562054,-1147652316,1033443671)+W(1,1022262943,-1082830049,1044843888,1032648925)+W(2,-1125619769,1025258841,1049609982,-1121656898)+W(3,983397903,1030898199,1030706970,-1116250872)+W(4,-1110746439,-1126213983,-1114870166,-1122182070)+W(5,-1080473697,1036499220,1033622730,-1104224164)+W(6,1045148854,-1125695843,1042757767,1070472721)+W(7,1015661307,-1105016797,-1109235057,-1138594966);WS(1047808392,-1105857653);
sum1=W(0,1038664639,1050583338,1057255335,1036414223)+W(1,1045309491,-1112577010,1052085724,1033646416)+W(2,1047007737,-1101673225,1049269098,1028560677)+W(3,1052689664,-1098667351,1020504170,1035626955)+W(4,-1095111703,1027946812,1019549874,-1089047968)+W(5,-1088425805,1038762993,1014185453,-1090242223)+W(6,1024927375,-1120878336,1038356881,-1097592171)+W(7,-1153489085,-1106190208,1031636916,988289723);sum2=W(0,-1114267734,1035785784,-1084160527,1050181400)+W(1,-1097894374,1060354212,-1094891239,1015251419)+W(2,-1098468098,1054874631,1045924604,1014394222)+W(3,-1092845444,1063378281,1042828743,1043075035)+W(4,-1097051496,-1113170400,1059321043,-1088778570)+W(5,1063793540,-1098458292,1035392846,-1096397593)+W(6,-1115217527,-1096505073,1030978836,-1132415773)+W(7,1051615858,-1088082125,1042772598,-1098450150);WS(-1073783985,-1080098540);
sum1=W(0,-1111733448,-1125334283,1004414705,1012137476)+W(1,-1095391448,1058781709,-1098951217,1027546650)+W(2,1030910366,1054585131,1056582836,-1107725963)+W(3,-1136391487,1012935090,-1118558951,1024902311)+W(4,1040796537,-1106294475,-1135747626,994170013)+W(5,1038631039,-1097893467,-1105932043,1045494048)+W(6,-1102018612,1001385357,1027155091,-1099332954)+W(7,-1113109295,-1118975220,-1141795121,-1106829042);sum2=W(0,-1123969951,-1115268047,-1161174488,-1136577003)+W(1,1039844510,-1078035036,-1111829747,-1126970134)+W(2,-1182117728,1038025274,1072008544,1037108170)+W(3,-1107924935,1013110307,1006927579,1024145219)+W(4,1023359390,-1128609502,1021768566,-1123274403)+W(5,-1085317526,1027511085,1026568479,1034323377)+W(6,1032404118,-1139830523,986504280,1044555209)+W(7,983390936,1022685546,-1127097094,1024479257);WS(-1104974728,1024380720);
sum1=W(0,1021171896,-1127535108,-1117883163,-1117848102)+W(1,1036503965,-1100771573,-1099610928,1039153371)+W(2,-1109841905,1034691017,1043814114,988770395)+W(3,-1126175513,1004793673,1034709362,-1121562883)+W(4,1018298053,1031544042,-1131530510,1036325571)+W(5,-1101972463,1036843369,982295861,1041104624)+W(6,-1107251369,1031396654,1029874576,-1133844875)+W(7,-1111468989,1034135320,-1125713989,1025626276);sum2=W(0,1044163006,1072425553,1071281072,-1125393898)+W(1,-1110276988,-1078765241,-1104699996,1045704700)+W(2,1044569612,-1100004941,-1076152216,-1099412627)+W(3,1037394103,-1111185479,1036033265,-1115657155)+W(4,-1125402454,1021558362,1011595325,1044770418)+W(5,-1098423872,-1113439186,1010524637,1018560910)+W(6,1028856833,1019143058,-1178088596,-1103281302)+W(7,-1117821699,1026998165,-1126446200,-1123488110);WS(1066498257,1026989550);
sum1=W(0,-1123659738,1024686464,1023571545,-1129927868)+W(1,1002634947,1040895252,-1084187390,1045121333)+W(2,970850411,-1115004776,1040663099,1036944705)+W(3,1004856149,1001199419,1024409057,1022709187)+W(4,-1143882757,1025371048,-1133253141,1016605513)+W(5,1054068239,1032849928,1033458708,1042249043)+W(6,-1120675276,1024612748,1049903454,-1089079196)+W(7,-1120648472,-1117202350,1017685954,-1112524513);sum2=W(0,-1155040203,1038340354,-1106434423,1038138620)+W(1,-1094597030,1064410985,-1087069176,1049419982)+W(2,-1117198782,-1112639315,-1110711879,1022703337)+W(3,-1121486321,-1123727669,1026273617,-1132959015)+W(4,-1105689565,1038431916,-1117610677,1014840059)+W(5,1043321526,-1117967352,-1115449783,-1102609737)+W(6,1042536365,-1112813855,-1107988055,1043390477)+W(7,1009362023,1031915394,-1122022929,1036470844);WS(1059170114,-1115069681);
sum1=W(0,1031327889,1043197758,1039057944,1041126528)+W(1,1027929903,1035662548,1057495242,-1137442701)+W(2,1045677858,1043295874,1036387882,1016336432)+W(3,1040648584,1035357519,1020376880,1027533272)+W(4,1035998588,-1184440086,-1125005432,-1114418030)+W(5,-1092661254,-1131407372,-1107377807,-1086197480)+W(6,-1097533773,1017102598,1031309989,-1098594899)+W(7,-1106979748,-1128058314,1036182828,-1116322521);sum2=W(0,1035999136,-1123134927,-1099457044,1029223181)+W(1,1050206678,-1115721168,-1106245137,1032743888)+W(2,969652021,-1109098872,1035536761,1030968394)+W(3,-1138117380,-1105152866,-1136790748,1018474295)+W(4,-1107153986,-1129014496,1022472216,-1094833228)+W(5,1029163621,1043654862,1034397600,1052844759)+W(6,-1111905268,-1149928759,-1114537747,1046847142)+W(7,-1102858563,1033858063,968266517,-1116305850);WS(-1091215044,-1097536449);
sum1=W(0,1027816414,-1110004986,-1088688205,1036334229)+W(1,1054850406,-1085760696,-1088611549,1046343318)+W(2,1040414769,-1115511970,-1113122464,1041878433)+W(3,1047750528,1034437006,-1113420363,1017820267)+W(4,1025245044,1039037582,1049627927,1028067640)+W(5,-1089807987,1052669472,1048707955,-1104070412)+W(6,1024229024,1039929856,1043177720,990395721)+W(7,-1097347774,1048578060,1044644789,1028468150);sum2=W(0,1030624098,1042295753,1036847317,-1114440831)+W(1,-1132718391,1031424194,1050034374,988636086)+W(2,1016098323,-1120554286,-1119733782,1030310950)+W(3,1018716851,1035432255,-1114648667,1024855622)+W(4,-1115362087,1021176355,1027069126,1041890716)+W(5,1016671019,1028661170,1029167466,-1113867927)+W(6,-1097953797,-1108500823,-1183083952,-1130826523)+W(7,-1096082463,-1106095247,1027651154,-1146049358);WS(-1074893425,-1117971628);
sum1=W(0,-1152038187,1049322869,1052023128,-1094367290)+W(1,-1098786216,999054287,-1111356283,-1103630563)+W(2,-1114777697,-1093651375,-1106664801,1037656965)+W(3,-1124130662,-1094570594,1040611874,1025099466)+W(4,-1097322793,1034136520,-1107223211,1042452051)+W(5,1040732760,-1102728254,-1112379016,1049675109)+W(6,1057236855,-1125564586,1016544493,1040645714)+W(7,1055134184,1008351835,-1105965314,1040783587);sum2=W(0,1021526755,1032892007,-1116735450,1004001863)+W(1,-1116175346,-1099974349,-1096890588,1018968138)+W(2,1031843333,1040986630,-1103015201,-1139174407)+W(3,1009509771,1041412407,1035109709,-1131104448)+W(4,1024548251,-1130001464,1033584975,-1111481570)+W(5,-1071438395,-1121576034,1026017190,-1073615974)+W(6,1076155388,1024580999,-1164624762,-1146527383)+W(7,1041860718,-1106441216,1043256283,1074182350);WS(1040475912,1032695578);
sum1=W(0,-1155851319,-1123298122,-1112011377,-1124525022)+W(1,-1122500130,1056532699,-1091278169,1035372099)+W(2,1033773669,-1105035590,1054708857,-1172701842)+W(3,-1116930196,1026134833,1007501482,1014757675)+W(4,-1102944834,1035920825,-1136466746,1035534023)+W(5,1041895809,-1104812886,-1130626274,1055301749)+W(6,1039100863,-1111589035,1028924087,-1087252087)+W(7,1036316385,-1110262076,-1142366545,-1123874252);sum2=W(0,-1119792870,-1123886114,1041703749,-1109091355)+W(1,-1102054262,1049335147,1026232126,-1111337413)+W(2,-1113960445,-1111978783,-1114718085,-1118550690)+W(3,-1109065069,1020384670,-1124340572,-1142500624)+W(4,-1123320808,1026411366,1010537508,-1120034208)+W(5,1063803841,-1098413574,1015836410,1045621744)+W(6,1016064880,-1123461018,1041947548,-1088756378)+W(7,1030310973,-1122952578,999681904,1026268254);WS(1060902754,1050355625);
sum1=W(0,-1151083459,-1104333225,-1099711167,-1156790206)+W(1,1023922682,-1082482317,-1101534272,1011568442)+W(2,-1112644265,1053813598,-1107281952,1024500211)+W(3,-1104847739,-1116841801,1025001795,1033389138)+W(4,1047935457,-1120760458,975051222,1048936605)+W(5,-1103038759,1043235660,1040804594,1041411896)+W(6,1036831245,1030084558,998453633,1049946264)+W(7,1030797274,1035779080,1007099659,1037700978);sum2=W(0,-1120633215,1029646415,-1106066969,1036801640)+W(1,1045612039,1020964885,-1102845552,1043653368)+W(2,976462574,-1088569123,1041841354,-1100846658)+W(3,-1097687290,1054633350,-1101549413,-1115109418)+W(4,-1094622159,-1128436081,1051617655,-1098529900)+W(5,1062435502,-1120809462,-1108268977,1045091011)+W(6,1054359824,-1115259155,-1127923721,-1104869009)+W(7,1044975639,-1102739129,1041018201,-1101036113);WS(-1090140642,-1081743990);
sum1=W(0,-1130293844,1009886528,1037549524,1014408182)+W(1,1042594418,1037202321,1044394635,1031847606)+W(2,1035968392,1037634256,-1117833212,1041618980)+W(3,1033368909,1015596142,-1122700465,1009499077)+W(4,1031805064,-1107483388,-1148996265,-1119977588)+W(5,-1094879521,1035016080,1015837167,-1097431626)+W(6,-1101547735,1034663662,1032499967,-1119842097)+W(7,-1105308242,1030806526,1017023585,-1107123493);sum2=W(0,1006912162,-1120892227,1013646496,-1123785792)+W(1,-1071648513,1076150687,1057715626,-1091554339)+W(2,-1106043455,1049558148,1069469884,-1078529007)+W(3,-1113325201,1038760139,1035924910,-1108743589)+W(4,1034054467,-1113324539,1032589029,-1105735433)+W(5,-1110563164,1029343874,1043157583,-1103626228)+W(6,-1102425071,1029688242,-1120727508,1025732222)+W(7,1001130061,-1123660578,-1120545616,1028146935);WS(1055430148,-1108560690);
sum1=W(0,1035029338,-1107101862,-1122962962,1035961997)+W(1,1041930516,-1102453987,-1105458486,1036894711)+W(2,-1113968413,1050461237,1050880022,1018389269)+W(3,-1119268932,1049028992,1017425654,1026969083)+W(4,1037435821,-1114596033,-1109508687,1001804274)+W(5,-1115462345,1030068713,-1105968336,1049324163)+W(6,-1096034793,1041307521,1023650152,-1096234295)+W(7,-1109268985,-1110794404,1023939770,-1105484423);sum2=W(0,1015626891,1000680715,-1133145023,1020921672)+W(1,-1149322267,-1106033700,1034643892,-1131154511)+W(2,-1122484266,1030350968,-1155618307,1005570725)+W(3,1019773418,1027949553,-1127714103,-1125609227)+W(4,1038163303,1066461314,1057583079,967639540)+W(5,1027175814,1042500058,1070593780,1029820070)+W(6,-1107328459,-1075365186,-1076733999,1050725869)+W(7,-1113454879,1026351361,-1095092572,984351189);WS(1048611396,-1120253991);
sum1=W(0,-1134442421,1020368935,-1104843595,-1109906484)+W(1,1038629782,-1096452233,-1102655324,-1157090745)+W(2,1008425488,-1098953977,-1094801150,1019276152)+W(3,-1115994974,-1120481658,-1125379561,-1121251029)+W(4,-1116357012,1014414830,1029221016,1042068462)+W(5,1048790986,1052393436,1044033359,-1127594975)+W(6,1044903358,-1137141374,1029702657,1026936628)+W(7,1042932491,1022285443,-1117911220,1031973931);sum2=W(0,-1143746400,1036277891,-1111784437,-1129566974)+W(1,-1117052801,-1100779042,1028988774,1036033029)+W(2,1038502321,-1129810696,1044450885,-1123748463)+W(3,1043607047,-1108082071,1034348699,-1138810328)+W(4,1047551505,-1098527209,-1093517653,1050813877)+W(5,1077969880,-1071648362,-1081514759,1061486774)+W(6,-1131992338,-1107152864,-1089190754,1055586292)+W(7,-1108034712,1025200270,-1111885211,1040643987);WS(-1095808772,1065647947);
sum1=W(0,-1104862109,1050045579,1055051378,-1096536264)+W(1,-1101730853,1045989771,1051209263,-1101976087)+W(2,-1106707963,-1098537885,-1096666661,-1126516760)+W(3,-1108125731,-1104774017,1021791993,-1123882077)+W(4,-1106144343,-1139560206,-1101629224,-1152511995)+W(5,1051130659,-1101507019,-1118447811,-1114400236)+W(6,1057272194,-1098960762,-1103658466,1054814183)+W(7,1057816237,-1104521538,-1106849375,1047598263);sum2=W(0,-1114352725,-1134514653,1046325680,-1110633145)+W(1,-1113576661,1052343557,1030462840,-1120367533)+W(2,-1111220567,-1127265311,1028577898,-1147392026)+W(3,-1131596567,-1109705515,1023140267,-1123261925)+W(4,-1145236426,-1115188107,-1121981161,-1106205960)+W(5,1052169724,-1122467029,1009337269,-1121802017)+W(6,967975074,-1123885069,-1112707841,-1126550987)+W(7,1019189507,1036097210,-1109514951,-1125641651);WS(-1088656098,-1093593990);
sum1=W(0,1006243392,1046462824,1053407451,1009988669)+W(1,1040203342,1043824044,1054487499,-1118924498)+W(2,1015251645,-1099069067,-1107509853,1030956655)+W(3,1034196708,-1106663601,-1114843936,1032654584)+W(4,-1100605512,1021367180,1009810317,-1093246956)+W(5,-1110184012,-1115326423,1031892963,-1092703459)+W(6,1036164518,-1102894371,1009525296,1041099456)+W(7,1035276411,-1120762380,-1121673919,1040232112);sum2=W(0,1057379920,1047338924,-1111686548,1045046842)+W(1,1065556520,-1108706635,1044625920,1066661430)+W(2,-1079104557,1048831397,1040575208,-1100359290)+W(3,-1090732450,-1118381857,-1106604517,-1080513286)+W(4,1041926325,-1122209414,-1123157156,-1120613757)+W(5,-1107659276,-1118064370,1026048962,1010608356)+W(6,990146073,-1118722317,1036917588,1029226052)+W(7,-1148427089,-1128484108,999828841,-1122878530);WS(-1103417864,1032685901);
sum1=W(0,-1101895278,1021813182,999140540,-1113840082)+W(1,-1112947643,1035808888,1050838637,-1106883347)+W(2,-1106874992,-1112862903,-1089518824,1045150312)+W(3,-1140285221,991482976,-1123587264,-1122615424)+W(4,1049323684,-1104186210,1025795300,1026362243)+W(5,-1115046028,1015970396,1026463622,-1123649147)+W(6,1043843226,-1114287989,1028121997,1051398592)+W(7,1025625239,-1125179546,-1148228092,1032255888);sum2=W(0,1041601968,1032004449,-1107019340,1052414494)+W(1,-1094738093,1048799024,-1083281727,1061231009)+W(2,-1112254382,1026094686,1060484354,-1090047391)+W(3,-1106989530,1016363351,1028491114,-1124055261)+W(4,-1101889010,1028135044,-1118630717,1021676257)+W(5,-1113266306,1023423300,994543087,1040520305)+W(6,1047868927,-1123297050,1023744190,-1097572834)+W(7,1039531031,-1135541243,-1134044699,-1106439707);WS(1062251010,-1128406975);
sum1=W(0,-1117783082,998905218,-1114430084,-1122559590)+W(1,-1097132645,1043264160,-1117430765,-1111223497)+W(2,1027318465,-1109365760,-1137238321,-1118294493)+W(3,-1142140116,-1112437644,1012147781,-1122628178)+W(4,-1122146129,1030594936,-1200477464,1041522773)+W(5,1038499861,-1108127936,-1117296696,1049934150)+W(6,1038350478,1008104625,-1117164622,1040349396)+W(7,1022231761,1030977566,1016497826,-1161426505);sum2=W(0,-1125963325,1029071818,1035048481,-1117898288)+W(1,-1072766634,1075259304,1058090849,-1090182563)+W(2,1030742992,-1113008632,1062748800,-1084699977)+W(3,1021721886,-1113709765,1039805619,-1114032290)+W(4,-1131842712,-1139107970,-1121110162,1015521050)+W(5,-1099596444,1037152077,-1131029094,-1155119281)+W(6,-1124623837,1025197316,1018972128,1015646848)+W(7,-1146515621,1027813594,-1127481518,-1116189732);WS(1065708113,-1121751611);
sum1=W(0,-1113367966,1033929377,1004700116,-1151170552)+W(1,-1102777150,1048992314,1028879143,-1132161740)+W(2,1034637855,-1123817297,-1130586604,1008580363)+W(3,1029317996,-1119780649,997138991,-1122909571)+W(4,-1124121476,-1152107167,-1203182552,1029908854)+W(5,-1106962671,-1118004497,985230639,1021289212)+W(6,1010684790,1024857134,1024087440,-1145749780)+W(7,-1119558682,1030859440,1018524741,-1110778290);sum2=W(0,1007192988,982756722,-1128031215,1022085973)+W(1,1078660314,-1070139299,-1087213694,1059325611)+W(2,-1179370697,-1159362498,-1079390657,1067996709)+W(3,1000911377,1028041806,-1110724756,1033764027)+W(4,-1124806095,1022708360,-1176062153,1012976820)+W(5,-1095156098,1033425170,-1120463845,1030136738)+W(6,1019962283,-1124014927,-1138793506,-1131018297)+W(7,-1121497459,-1138055830,1016277465,1025926144);WS(1067144001,1026092834);
sum1=W(0,1014388109,1020396467,1049810486,1005864375)+W(1,-1100539124,1042867979,1055042333,-1110877439)+W(2,-1126225268,1044290490,1031992147,-1110133357)+W(3,1016160519,1034066560,1034565181,1033891677)+W(4,1040462414,-1132016387,-1120236446,-1103125415)+W(5,-1096204250,-1116193256,-1107048544,-1103579165)+W(6,-1091768605,1031444773,1010104860,1048911295)+W(7,-1112003369,1031923300,1030176378,-1114007278);sum2=W(0,-1108591076,1045671991,-1123834023,-1130823435)+W(1,-1095898825,1058163296,-1133291790,-1112679806)+W(2,1030441654,-1113640367,-1100325346,-1107310218)+W(3,1031713190,-1116067001,1016405480,-1128226189)+W(4,-1106172311,1024976861,-1114604843,1036568073)+W(5,1057311204,-1122476787,1033105292,-1115701009)+W(6,1044352434,-1111920852,1035411458,-1097367248)+W(7,1014762708,-1121017007,1031834977,-1106561364);WS(1057420226,-1092362255);
sum1=W(0,1020346174,-1144052776,1044920519,1032475105)+W(1,1019256762,1055322687,1052978802,-1121587297)+W(2,1033058515,1040777765,-1104246416,-1123769862)+W(3,1030782351,1041983019,1016898380,1024808486)+W(4,1027257637,-1116794957,-1114304581,-1103664666)+W(5,-1116373310,-1100439285,-1103967019,-1096869991)+W(6,-1096789598,1036089864,1018564517,1028318277)+W(7,-1106323631,-1130998630,1021198731,-1118572551);sum2=W(0,1006994613,-1130764191,1016741405,-1134184569)+W(1,-1134366153,-1112456708,1033077740,1034914936)+W(2,1009154259,-1132669129,1043198162,1033598449)+W(3,1021229932,-1126067903,1016038391,989883430)+W(4,1043863088,-1103907912,-1102863001,1020516693)+W(5,1071901111,-1076633620,-1084447988,1060988002)+W(6,1018979141,-1118646231,-1098165823,1043355315)+W(7,1022348007,-1118544043,-1113048166,1034096544);WS(-1105493768,-1082709441);
return clamp(mstd0 + 5.0 * vsum / wsum * mstd1, 0.0, 1.0);
}  // nnedi3
vec4 hook() {
vec4 ret = vec4(0.0);
vec4 samples[8];
samples[0] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-1, -3), 0);
samples[1] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-1, -1), 0);
samples[2] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-1, 1), 0);
samples[3] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(-1, 3), 0);
samples[4] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(1, -3), 0);
samples[5] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(1, -1), 0);
samples[6] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(1, 1), 0);
samples[7] = HOOKED_mul * textureGatherOffset(HOOKED_raw, HOOKED_pos, ivec2(1, 3), 0);
ret[0] = nnedi3(samples);
return ret;
}  // hook
//!DESC NNEDI3 (combine_x, nns64, win8x4)
//!HOOK LUMA
//!BIND HOOKED
//!BIND nnedi3_int
//!WIDTH 2 HOOKED.w *
//!OFFSET -0.500000 0.000000
//!WHEN HOOKED.w OUTPUT.w / 0.833333 <
vec4 hook() {
    vec2 dir = fract(HOOKED_pos * HOOKED_size) - 0.5;
    if (dir.x < 0.0) {
        return HOOKED_texOff(-dir);
    } else {
        return nnedi3_int_texOff(-dir);
    }
}
